feat: integrate nexus API commands as first-class noun-verb subcommands by feluelle · Pull Request #2019 · astronomer/astro-cli
Auto-generate CLI commands from the Astronomer API spec via nexus and register them directly on the root in noun-verb format (e.g. `astro deployment create`). Nexus commands take priority; remaining cloud commands fill gaps via automatic merge. This removes ~70 hand-written cloud commands now covered by the API spec. Key changes: - Add ConfigAdapter bridging astro-cli's viper config to nexus - Register nexus commands in noun-verb format on root command - Merge cloud commands underneath nexus nouns (nexus-first priority) - Preserve `astro deploy` action semantics alongside nexus deploy noun - Remove superseded deployment/workspace/organization cloud commands (CRUD, user/team/token management, inspect, hibernate, wake-up) - Add interactive prompts for required body fields (with retry loops) - Add delete confirmation prompts with --force bypass - Pretty-print JSON output in terminals; raw JSON when piped - Format API errors as "Error (<status>): <message>" - Add BREAKING_CHANGES.md documenting all removals and changes
feluelle
changed the title
Add nexus API integration as
Integrate nexus API commands as first-class noun-verb subcommandsastro nexus subcommands
feluelle
changed the title
Integrate nexus API commands as first-class noun-verb subcommands
feat: integrate nexus API commands as first-class noun-verb subcommands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters