clan config: match dynamic options containing <name>

This commit is contained in:
DavHau
2023-09-24 13:04:18 +01:00
parent 765f982d11
commit ec70b34470
3 changed files with 91 additions and 18 deletions

View File

@@ -25,7 +25,9 @@ def create_parser(prog: Optional[str] = None) -> argparse.ArgumentParser:
subparsers = parser.add_subparsers()
parser_create = subparsers.add_parser("create", help="create a clan flake inside the current directory")
parser_create = subparsers.add_parser(
"create", help="create a clan flake inside the current directory"
)
create.register_parser(parser_create)
parser_config = subparsers.add_parser("config", help="set nixos configuration")