-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for context-specific App
functions
#25
Comments
An option based on #24 name: myapp
version: "1.0"
author: Kevin K. <kbknapp@gmail.com>
about: Does awesome things
args:
- name: config
short: c
long: config
value_name: FILE
help: Sets a custom config file
takes_value: true
- name: INPUT
help: Sets the input file to use
required: true
index: 1
- app:
help_heading: DEBUG
- name: verbose
short: v
multiple: true
help: Sets the level of verbosity
subcommands:
- test:
about: controls testing features
version: "1.3"
author: Someone E. <someone_else@other.com>
args:
- debug:
short: d
help: print debug information In effect, the data model for
(Ok, I got less creative with names as I went) |
Is this clap-rs/clap#3002? |
What is the difference between |
Parts are in clap-rs/clap#3002 and in other issues.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
App::help_heading
applies to all future args being added. We expect to add more like this (App::next_display_order
, `App::env_prefix).The challenge will be to fit it in the data model.
The text was updated successfully, but these errors were encountered: