Skip to content

cli

Parse command-line arguments.

Sep 26, 2026
  • ae3c808e (#3602) The plugin's global API script (used with app.withGlobalTauri) now resolves the core API from window.__TAURI__ instead of bundling its own copy of @tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an Image from window.__TAURI__.image passed to clipboardManager.writeImage, which previously failed the instanceof check against the plugin's private copy), and the script is considerably smaller.
  • 9b29b601 Update MSRV to 1.90 to match tauri.
  • a87a3c7d Update documentation.
Oct 27, 2025
  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.
Jun 25, 2025
Jun 24, 2025
  • f6e11282 (#2787 by @mikew) Added Cli.matches_from(args). This can be combined with the args passed to the callback of tauri_plugin_single_instance::init to parse the command line arguments passed to subsequent instances of the application.

  • 37c2fb41 (#2772 by @floriskn) Added a new global boolean flag to the CliArg struct to support global CLI arguments. This flag allows arguments like --verbose to be marked as global and automatically propagated to all subcommands, enabling consistent availability throughout the CLI.

    The new field is optional and defaults to false.

Jun 16, 2025
  • f634e524 This is an "empty" release to update the plugins' source files on crates.io and docs.rs. This should fix docs.rs build failures for projects using tauri plugins as dependencies.
Dec 9, 2024
  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.
Oct 3, 2024
Oct 2, 2024
  • e2c4dfb6 Update to tauri v2 stable release.
Oct 2, 2024
Aug 29, 2024
Aug 2, 2024

cli full changelog


© 2026 Tauri Contributors. CC-BY / MIT