Modules§
- prelude
- Prelude for convenient imports
Structs§
- App
- AppContext
- Standard context implementation using stdin/stdout/stderr
- AppInfo
- Arg
- ArgInfo
- Command
- Command
Info - Component
Info - Context
Info - Context metadata
- Output
- Parsed
- Parsed command-line arguments result
Enums§
- ArgKind
- Kind of argument (positional, flag, or option)
- ArgType
- Argument value types
- Error
- Errors that can occur during command parsing and execution
- Input
Event - Represents an event.
- Input
Value - Output
Command - 完整的终端控制命令枚举
Constants§
Traits§
- Completer
- Provides dynamic completion suggestions
- Context
- Input
Component - Interactive component that runs with a context
- Logger
- Output
Component - Interactive component that produces output
- Prompter
- Prompts user for input interactively
- Read
Event - Validator
- Validates an argument value
Type Aliases§
- Result
- Result type alias for XaCLI operations