Files
swagger-cli/src
teernisse 8455bca71b Robot mode: TTY auto-detect, env var, --no-robot flag, robot-docs command
Robot mode resolution is now a 4-tier cascade:
  1. --no-robot (explicit off, conflicts_with robot)
  2. --robot / --json (explicit on)
  3. SWAGGER_CLI_ROBOT=1|true env var
  4. TTY auto-detection (non-TTY stdout -> robot mode)

Pre-scan updated to match the same resolution logic so parse errors
get the correct output format before clap finishes parsing.

New robot-docs subcommand (alias: docs) provides machine-readable
self-documentation for AI agents: guide, commands, exit-codes, and
workflows topics. Designed for LLM consumption — structured JSON
with all flags, aliases, and usage patterns in one call.

robot_success_pretty added for --pretty support on robot-docs output.

Visible aliases added to commands: list->ls, show->info, search->find.
2026-02-12 16:56:28 -05:00
..