cute

Module opt

Source

Structs§

  • Represents a command-line option with its name, state and consume behavior

Enums§

  • Represents the result of matching a command-line argument

Traits§

  • A trait representing a state that can be used in command-line options
  • Trait defining the behavior of a command-line option

Functions§

  • Creates a new option that consumes the next argument
  • Creates a new switch option that doesn’t consume the next argument