Coverage for src / gh_secrets_and_vars_async / cli.py: 100%
17 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-16 17:56 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-16 17:56 +0000
1import click
3from .push import push_command
6@click.group()
7def main() -> None:
8 """GitHub repository setup and management tools."""
11main.add_command(push_command, "sync")
14def _register_subcommands() -> None:
15 """Register subcommands that depend on other modules."""
16 from .chezmoi_cmd import chezmoi_command
17 from .config import config_command
18 from .init_cmd import init_command
19 from .rulesets import rulesets_command
20 from .status import status_command
22 main.add_command(chezmoi_command, "chezmoi")
23 main.add_command(rulesets_command, "rulesets")
24 main.add_command(config_command, "config")
25 main.add_command(status_command, "status")
26 main.add_command(init_command, "init")
29_register_subcommands()