Docs.rs
  • clap-3.2.1
    • clap 3.2.1
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • 13 June 2022
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • kbknapp
    • github:clap-rs:admins
    • github:rust-cli:maintainers
    • Dependencies
      • atty ^0.2 normal
      • backtrace ^0.3 normal
      • bitflags ^1.2 normal
      • clap_derive =3.2.1 normal
      • clap_lex ^0.2.2 normal
      • indexmap ^1.0 normal
      • lazy_static ^1 normal
      • regex ^1.0 normal
      • strsim ^0.10 normal
      • termcolor ^1.1.1 normal
      • terminal_size ^0.1.12 normal
      • textwrap ^0.15.0 normal
      • unicase ^2.6 normal
      • yaml-rust ^0.4.1 normal
      • humantime ^2 dev
      • regex ^1.0 dev
      • rustversion ^1 dev
      • shlex ^1.1.0 dev
      • snapbox ^0.2.9 dev
      • trybuild ^1.0.18 dev
      • trycmd ^0.13 dev
    • Versions
    • 87.5% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate clap

logo
Change settings

List of all items

Structs

  • App
  • Arg
  • ArgGroup
  • ArgMatches
  • Indices
  • OsValues
  • PossibleValue
  • Values
  • builder::App
  • builder::Arg
  • builder::ArgGroup
  • builder::BoolValueParser
  • builder::BoolishValueParser
  • builder::EnumValueParser
  • builder::FalseyValueParser
  • builder::NonEmptyStringValueParser
  • builder::OsStringValueParser
  • builder::PathBufValueParser
  • builder::PossibleValue
  • builder::PossibleValuesParser
  • builder::RangedI64ValueParser
  • builder::RangedU64ValueParser
  • builder::StringValueParser
  • builder::ValueParser
  • error::Error
  • parser::ArgMatches
  • parser::Indices
  • parser::OsValues
  • parser::RawValues
  • parser::Values
  • parser::ValuesRef

Enums

  • AppSettings
  • ArgAction
  • ArgSettings
  • ColorChoice
  • ErrorKind
  • RegexRef
  • ValueHint
  • ValueSource
  • builder::AppSettings
  • builder::ArgAction
  • builder::ArgSettings
  • builder::RegexRef
  • builder::ValueHint
  • error::ContextKind
  • error::ContextValue
  • error::ErrorKind
  • parser::MatchesError
  • parser::ValueSource

Traits

  • ArgEnum
  • Args
  • CommandFactory
  • FromArgMatches
  • IntoApp
  • Parser
  • Subcommand
  • ValueEnum
  • builder::TypedValueParser
  • builder::ValueParserFactory

Macros

  • app_from_crate
  • arg
  • command
  • crate_authors
  • crate_description
  • crate_name
  • crate_version
  • value_parser

Derive Macros

  • ArgEnum

Typedefs

  • Command
  • builder::Command
  • error::Result