Skip to content

environments list rejects --all and suggests --wallet #119

Closed

Description

@thebrandonlucas

Problem

environments list rejects --all, and clap's suggestion and usage line point at an unrelated flag:

$ voltage environments list --org ORG --all
error: 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

  1. added a commit that references this issue on Nov 4, 2026
    1f1ba99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions