Skip to content

Allow global flags after command #427

@fgblomqvist

Description

@fgblomqvist

This is just a suggestion, but to me it seems logical to allow global flags after the command as well, not only before it.

For example, if you have a verbose flag, -v:
myapp -v server
vs.
myapp server -v

To me the second one does visually make more sense. Are there cases when this is a bad idea (and therefore the reason to why this is not how it is currently implemented)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/v3relates to / is being considered for v3help wantedplease help if you can!kind/featuredescribes a code enhancement / feature requestpinnedshould not be marked stalestatus/confirmedconfirmed to be valid, but work has yet to start

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions