Skip to main content

Crate tauri_plugin_cli

Crate tauri_plugin_cli 

Source
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.
SubcommandMatches
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.cli object in tauri.conf.json.

Type Aliases§

Result
Alias for a std::result::Result with the error type Error.