0388751c6e
- main(argv) builds top-level argparse(prog="nova") with required subparsers. - Auto-discovers nova/<module>.py via pkgutil.iter_modules(nova.__path__), skipping `cli`; each module exports add_parser(subparsers) + run(args) -> int. - Before dispatch: resolve_mode_from_env() → emit cli.invocation audit event (INV-12) as a stderr JSON line stub with mode, selection_reason, credential_type, command, args. Real outbox wiring comes later. - Dispatch: args._run(args); exit code via sys.exit(main()). - nova/__init__.py empty package marker. ---ci--- project: acdl phase: 1 milestone: v1.28 status: execute persona: cli-engineer ---/ci---
1 line
77 B
Python
1 line
77 B
Python
"""Nova CLI package — thin subcommand delegates to core.* (P1, REQ-324).""" |