Skip to content

Comments

Add cli.py entry point for documented CLI usage#3

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-cli-help-command
Draft

Add cli.py entry point for documented CLI usage#3
Copilot wants to merge 3 commits intomainfrom
copilot/update-cli-help-command

Conversation

Copy link

Copilot AI commented Jan 14, 2026

README documents python cli.py --help but the file doesn't exist. CLI is implemented in src/main.py which uses relative imports incompatible with direct execution.

Changes

  • cli.py: 11-line entry point that imports and delegates to src.main.cli()
  • tests/test_cli.py: Subprocess-based tests for CLI entry point and all subcommands
  • .gitignore: Add Python patterns (__pycache__/, .coverage, etc.) and remove tracked cache files
# cli.py
from src.main import cli

if __name__ == "__main__":
    cli(obj={})

All existing tests pass. No changes to core CLI implementation.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.example.com
    • Triggering command: /usr/bin/python python -m pytest tests/ -v --tb=short (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

task python cli.py --help


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 14, 2026 15:37
Co-authored-by: allsxxing <104036624+allsxxing@users.noreply.github.com>
Co-authored-by: allsxxing <104036624+allsxxing@users.noreply.github.com>
Copilot AI changed the title [WIP] Update help command for Python CLI Add cli.py entry point for documented CLI usage Jan 14, 2026
Copilot AI requested a review from allsxxing January 14, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants