Re-exports§
pub use crate::parse::available_flags;pub use crate::parse::parse;pub use crate::parse::Parser;pub use crate::spec::arg::SpecArg;pub use crate::spec::arg::SpecDoubleDashChoices;pub use crate::spec::arg::SpecRequiredIfEq;pub use crate::spec::builder::SpecArgBuilder;pub use crate::spec::builder::SpecCommandBuilder;pub use crate::spec::builder::SpecFlagBuilder;pub use crate::spec::choices::SpecChoice;pub use crate::spec::choices::SpecChoiceAlias;pub use crate::spec::choices::SpecChoices;pub use crate::spec::cmd::SpecCommand;pub use crate::spec::complete::SpecComplete;pub use crate::spec::effect::SpecCommandEffect;pub use crate::spec::flag::SpecDefaultIf;pub use crate::spec::flag::SpecFlag;pub use crate::spec::flag::SpecFlagAction;pub use crate::spec::flag::SpecRequiresIf;pub use crate::spec::flagset::SpecFlagSet;pub use crate::spec::flagset::SpecUse;pub use crate::spec::group::SpecGroup;pub use crate::spec::mount::SpecMount;pub use crate::spec::unknown_flags::UnknownFlags;pub use crate::spec::view::SpecView;pub use crate::spec::Spec;pub use crate::warn::Warning;pub use crate::warn::WarningKind;pub use error::Result;
Modules§
- complete
- docs
- error
- go
- Emitting Go parse tables from a spec.
- help_
template - The named sections a
help_templatemay place, and how one is filled in. - macros
- Convenience macros for creating specs with minimal boilerplate.
- parse
- sdk
- sh
- Running the shell scripts a spec embeds in
run=. - spec
- warn
- What a parse has to say about declarations that still work but should not be used.
Macros§
- aliases
- Create a
Vec<String>for command aliases. - bail_
parse - defaults
- Create a
Vec<String>from string literals. - longs
- Create a
Vec<String>for long flags. - shorts
- Create a
Vec<char>for short flags. - spec_
arg - Create a SpecArg with minimal boilerplate.
- spec_
cmd - Create a SpecCommand with minimal boilerplate.
- spec_
flag - Create a SpecFlag with minimal boilerplate.