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
{{ message }}
Repository navigation
environments list rejects --all and suggests --wallet #119
environments list rejects --all, and clap's suggestion and usage line point at an unrelated flag:
$ voltage environments list --org ORG --allerror: unexpected argument '--all' found tip: a similar argument exists: '--wallet'Usage: voltage environments list --org <UUID> --wallet <UUID>
#82 made other lists accept --all when they return every item at once (#94), so an agent passes it here too. The tip then suggests --wallet, which has nothing to do with environments. The usage line also shows --wallet <UUID> as if it were required, which sends the agent looking for a wallet. Without --all, the command succeeds and lists every environment.
The parse error comes before any request, so this reproduces offline. Reproduced on v0.2.0 (6610d0f).
Suggested fix
Accept --all on environments list as a no-op, as the other single-page lists do. Keep --wallet out of this command's usage line and suggestions. Consider a test that every list subcommand accepts --all, so a new list can't miss it.
Activity
fix(cli): accept --all on environments, organizations, and profiles l…