Skip to content

milo-cli 0.2.1

Choose a tag to compare

@lbliii lbliii released this 12 Apr 15:23
· 54 commits to main since this release
83ccab3

Patch release fixing group command help display, lazy command argument defaults, and schema handling.

Fixed

  • Group help display — Bare invocation of a command group now correctly shows group help instead of "Unknown command". Help output lists subcommands by name instead of raw argparse internals.
  • Lazy command defaults — Lazy commands now propagate function signature defaults to argparse. Schema defaults are JSON-safe, boolean schema defaults are respected, boolean default=True parameters use --no-xxx flags, schema enum values become argparse choices, and display_result=False suppresses plain-format output while preserving --output-file and --format json.
  • Lazy command hardeningGroup.lazy_command() supports examples, confirm, and annotations kwargs for parity with CLI.lazy_command().