From d6d6243842259812ec887de72331a1484adc216e Mon Sep 17 00:00:00 2001 From: Vitor Date: Tue, 10 Oct 2023 13:46:00 -0300 Subject: [PATCH] rename 'plugin add' command to 'add' (#1606) --- src/content/docs/2/reference/cli.mdx | 14 +++++++------- src/content/docs/features/notification.mdx | 8 ++++---- src/content/docs/fr/features/notification.mdx | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/content/docs/2/reference/cli.mdx b/src/content/docs/2/reference/cli.mdx index eacd2e029d..32eeb1c42f 100644 --- a/src/content/docs/2/reference/cli.mdx +++ b/src/content/docs/2/reference/cli.mdx @@ -32,7 +32,7 @@ For CLI commands related to developing plugins visit the [Develop a Tauri Plugin | [`icon`](#icon) | Generates various icons for all major platforms | | [`info`](#info) | Shows information about Tauri dependencies and project configuration | | [`init`](#init) | Initializes a Tauri project | -| [`plugin add`](#plugin-add) | Manage Tauri plugins | +| [`add`](#add) | Manage Tauri plugins | | [`signer`](#signer) | Tauri updater signer | | [`completions`](#completions) | Shell completions | | [`ios`](#ios) | iOS commands | @@ -216,19 +216,19 @@ Options: Print version ``` -## `plugin add` +## `add` ``` Installs a plugin on the project -Usage: cargo tauri plugin add [OPTIONS] +Usage: cargo tauri add [OPTIONS] Arguments: The plugin to add diff --git a/src/content/docs/features/notification.mdx b/src/content/docs/features/notification.mdx index 70056d7110..2d211f8414 100644 --- a/src/content/docs/features/notification.mdx +++ b/src/content/docs/features/notification.mdx @@ -22,10 +22,10 @@ Install the notifications plugin to get started. 1. Use your project's package manager to add the dependency: - + 2. Modify `lib.rs` to initialize the plugin: diff --git a/src/content/docs/fr/features/notification.mdx b/src/content/docs/fr/features/notification.mdx index 3b370d1cfd..a4f1865e64 100644 --- a/src/content/docs/fr/features/notification.mdx +++ b/src/content/docs/fr/features/notification.mdx @@ -22,10 +22,10 @@ Pour commencer, installez le plugin de notifications. 1. Utilisez le gestionnaire de package (package manager) de votre projet pour ajouter la dépendance: - + 2. Modifiez `lib.rs` pour initialiser le plugin: