Code
How neithere/argh is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new CLI command from a Python function
- Apply @arg() decorators from src/argh/decorators.py to customize argument mapping
- Call assembling.add_commands() or assembling.set_default_command() to register the function
- Use dispatching.dispatch() to parse sys.argv and execute the command
Customize argument parsing behavior
- Review available decorators (@arg, @aliases, @wrap_errors) in src/argh/decorators.py
- Check assembling.py to understand how metadata is mapped to argparse argument names and options
Add shell completion support for a command
- Inspect completion.py to understand completion generation strategy (bash-specific parsing)
Handle type coercion for custom types
- Use type parameter in @arg() decorator to specify the converter function
- Dispatching.py will apply the type converter during argument processing
Change the public API
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.