diff --git a/src/cli.py b/src/cli.py new file mode 100644 index 0000000..82c05b2 --- /dev/null +++ b/src/cli.py @@ -0,0 +1,38 @@ +import click +from src.main import main as launch_dashboard + + +@click.group() +def cli(): + """DevDash CLI - Terminal-based developer dashboard.""" + pass + + +@cli.command() +def launch(): + """Launch the DevDash dashboard.""" + launch_dashboard() + + +@cli.command() +def config(): + """View or edit configuration.""" + click.echo("Configuration management not yet implemented") + + +@cli.command() +@click.argument("repo") +@click.option("--provider", default="github", help="Repository provider (github, gitlab)") +def add_repo(repo, provider): + """Add a repository to the dashboard.""" + click.echo(f"Adding repository {repo} with provider {provider}") + + +@cli.command() +def doctor(): + """Diagnose configuration issues.""" + click.echo("Configuration diagnosis not yet implemented") + + +if __name__ == "__main__": + cli()