Expand description
Parse arguments from your Command Line Interface.
- Supported platforms: Windows, Linux and macOS.
Structs§
- ArgData
- The resolution of a argument match.
- Cli
- Access to the CLI APIs, managed by the app once the plugin is initialized.
- Matches
- The argument matches of a command.
- Subcommand
Matches - The matched subcommand.
Enums§
- Error
- Errors that can be returned from the CLI plugin’s commands.
Traits§
- CliExt
- Extension trait to access the CLI APIs.
Functions§
- init
- Initializes the plugin, reading the CLI definition from the
plugins.cliobject intauri.conf.json.
Type Aliases§
- Result
- Alias for a
std::result::Resultwith the error typeError.