Skip to content

Unify production and test invocation and restore native Click option syntax #53

Description

@codeforester

Parent: #50

Train position: 3 of 22
Phase: P0 — Trustworthy lifecycle

Problem

base_cli.testing.invoke() bypasses the production invocation boundary, logs the wrong argv, and the framework rejects legal Click syntax such as --option=value.

Acceptance criteria

  • CLI entry points and base_cli.testing.invoke() exercise the same framework invocation boundary.
  • Effective/logged argv, exit codes, errors, lifecycle behavior, and subcommand behavior match between tests and production.
  • The pre-parser rejection is removed and Click-native --option=value works, including sensitive option values.
  • Parity regressions cover success, usage errors, unexpected exceptions, and command groups.

Dependencies

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions