RepoPilot

neithere / argh

Search neithere/argh

GitHub

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

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI

Find files for a task

AI

Add 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.

Code quality and hotspots

Largest source files

  • Branch points7 per file on average
  • Code issues0 errors, 11 warnings
  • Largest file1,178 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions2 workflows
  • Tests13 test filesPytest · 1.1 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: tests

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.