From 25b086ed5523c2e1ac6e3d1e6a86a62e654151a0 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Wed, 9 Aug 2023 11:27:39 +0200 Subject: [PATCH] commands --- src/content/docs/2/reference/cli.mdx | 110 ++++++++++++++++++--------- 1 file changed, 72 insertions(+), 38 deletions(-) diff --git a/src/content/docs/2/reference/cli.mdx b/src/content/docs/2/reference/cli.mdx index b1ec478c91..1c767583a0 100644 --- a/src/content/docs/2/reference/cli.mdx +++ b/src/content/docs/2/reference/cli.mdx @@ -42,9 +42,12 @@ For CLI commands related to developing plugins visit the [Develop a Tauri Plugin ## `build` -```sh -cargo tauri build -``` + ``` Tauri build @@ -84,9 +87,12 @@ Options: ## `dev` -```sh -cargo tauri dev -``` + ``` Tauri dev @@ -118,9 +124,12 @@ If you have entered a command to the `build.beforeDevCommand` property, this one ## `icon` -```sh -cargo tauri icon -``` + ``` Generates various icons for all major platforms @@ -141,9 +150,12 @@ Options: ## `info` -```sh -cargo tauri info -``` + ``` Shows information about Tauri dependencies and project configuration @@ -161,9 +173,12 @@ Options: ## `init` -```sh -cargo tauri init -``` + ``` Initializes a Tauri project @@ -203,9 +218,12 @@ Options: ## `plugin add` -```sh -cargo tauri plugin add -``` + ``` Installs a plugin on the project @@ -226,9 +244,12 @@ Options: ## `signer` -```sh -cargo tauri signer -``` + ``` Tauri updater signer @@ -248,9 +269,12 @@ Options: ## `completions` -```sh -cargo tauri completions -``` + ``` Shell completions @@ -401,9 +425,12 @@ Add-Content -Path $profile -Value '& "$PSScriptRoot\_tauri.ps1"' ## `android` -```sh -cargo tauri android -``` + ``` Android commands @@ -425,9 +452,12 @@ Options: ## `ios` -```sh -cargo tauri ios -``` + ``` iOS commands @@ -439,9 +469,12 @@ macos user needed here :)) ## `migrate` -```sh -cargo tauri migrate -``` + ``` Migrate from v1 to v2 @@ -456,11 +489,12 @@ Options: ## `help` -{/* TODO: Use tabs for commands */} - -```sh -cargo tauri help -``` + ``` Command line interface for building Tauri apps