Skip to content

Flag-style subcommands (pacman -S)? #46

Open

Description

@viridale

Subcommands selected by a flag, as in pacman -S.

Prior art: clap short_flag, long_flag

Concern: it breaks the regular scan, where a subcommand is the first token that isn't an option. Not planned unless that has a good answer.

Activity

  1. added
    question
    on Oct 20, 2026
  2. changed the title [-]Decide: flag-style subcommands (pacman -S)[/-] [+]Flag-style subcommands (pacman -S)?[/+] on Oct 20, 2026
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

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions