Skip to content

[Question] Handling global options in CLI apps with v5 framework #140

@rozumak

Description

@rozumak

It's common for CLI apps to have global/common options that apply to most commands. These options are usually placed before the command text.

For example, in Entity Framework:

dotnet ef [options] [command]

Global options:
  --no-color       Don't colorize output.
  --prefix-output  Prefix output with level.

What is your recommendation for handling these cases using your v5 framework? Is there any support or plans to support this?

Thanks for the great framework!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions