You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by Kibouo November 9, 2021
I saw that #1974 added support for sub-commands with a flag-format. However, they don't seem to be available when ingesting YAML?
We have decided to deprecate the YAML API. For more details, see #3087. If there is interest in a YAML API, it will likely be broken out into a clap_yaml and developed independent from the core of clap.
Discussed in #3010
Originally posted by Kibouo November 9, 2021
I saw that #1974 added support for sub-commands with a flag-format. However, they don't seem to be available when ingesting YAML?
I tried the following:
However, the keys
short_flag
andlong_flag
are silently ignored. Meaning,cargo run -- --help
shows onlyweb
as a sub-command.I expected it to show
-W, --web, web
.The text was updated successfully, but these errors were encountered: