Skip to content

[feature]: cmdargs with prompt #12

Description

@azmizar

Is your feature request related to a problem? Please describe.
Common need for a CLI (command prompt) type application is the need to provide command line arguments. This can be a mix of required and optional parameters. Also, ability to specify default value for the switches would be great.

Describe the solution you'd like

  • Configs to specify all of the cmdargs
    • switches (-h or --help)
    • required or optional
    • default value
    • validator callback for the entered value
  • (maybe) callback to show app usage if a specific flag is specified (ex: -h or --help)

Describe alternatives you've considered
Build this for each application and duplicating the code in each projects.

Additional context
N/A

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions