You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Global options:--name, --region, --endpoint-url are defined on the root group and inherited by all subcommands
4. Mapping table (current -> new):
Current
New
Notes
deploy
stack deploy
delete
stack delete
status
stack status / stack get
list
stack list
version
stack version
upgrade
stack upgrade
check
stack check
cfn-template
stack export-template
lambda-export
stack export-lambda
system set-defaults
system set
system get-defaults
system get
system delete-defaults
system delete
resource set-defaults
resource set
resource get-defaults
resource get
resource delete-defaults
resource delete
resource list
resource list
No change
entity set-limits
entity set
entity get-limits
entity get
entity delete-limits
entity delete (config)
entity create
entity create
No change
entity show
entity show
No change
entity list
entity list
No change
entity list-resources
resource list --with-entity-configs
Cross-noun query moves to resource
audit list
audit list
No change
usage list
usage list
No change
usage summary
usage summary
No change
local up/down/...
local up/down/...
No change
load deploy/connect/...
load deploy/connect/...
No change
5. Entity config sub-operations decision: Whether entity set covers both entity creation and limit configuration, or limits need a sub-noun (entity config set vs entity set --resource). The ADR must decide between:
entity set --resource gpt-4 -l rpm:1000 (flat with --resource flag)
Description
Write ADR-133 documenting the decision to restructure the CLI from its current organic layout to a noun-first command hierarchy.
Current State
The CLI has grown organically with a mix of patterns:
deploy,delete,statuscfn-template,lambda-exportentity set-limitsresource set-defaultsentity list-resourcesresourceversion,upgrade,checkProposed Structure (ADR Content)
The ADR must document the following decisions:
1. Top-level nouns:
stack,system,resource,entity,audit,usage,local,load2. Consistent verb set:
get,list,set,delete,create,deploy(max 2 levels of nesting:noun verb)3. Global options:
--name,--region,--endpoint-urlare defined on the root group and inherited by all subcommands4. Mapping table (current -> new):
deploystack deploydeletestack deletestatusstack status/stack getliststack listversionstack versionupgradestack upgradecheckstack checkcfn-templatestack export-templatelambda-exportstack export-lambdasystem set-defaultssystem setsystem get-defaultssystem getsystem delete-defaultssystem deleteresource set-defaultsresource setresource get-defaultsresource getresource delete-defaultsresource deleteresource listresource listentity set-limitsentity setentity get-limitsentity getentity delete-limitsentity delete(config)entity createentity createentity showentity showentity listentity listentity list-resourcesresource list --with-entity-configsaudit listaudit listusage listusage listusage summaryusage summarylocal up/down/...local up/down/...load deploy/connect/...load deploy/connect/...5. Entity config sub-operations decision: Whether
entity setcovers both entity creation and limit configuration, or limits need a sub-noun (entity config setvsentity set --resource). The ADR must decide between:entity set --resource gpt-4 -l rpm:1000(flat with--resourceflag)entity config set --resource gpt-4 -l rpm:1000(3-level nesting, violates max-2 rule)entity set-limitsas a hyphenated verb (exception to the verb set)6. Legacy alias strategy:
7. Cross-noun query resolution:
entity list-resourcesbecomesresource list --with-entity-configsAcceptance Criteria
docs/adr/133-noun-first-cli.mdexists with Status: Proposed