diff --git a/docs/api/cli.md b/docs/api/cli.md
index 8d521c9e59f..1f91bda6ccd 100644
--- a/docs/api/cli.md
+++ b/docs/api/cli.md
@@ -70,15 +70,20 @@ Options:
```
-Usage: cargo-tauri plugin init [OPTIONS] --name
+Usage: cargo-tauri plugin init [OPTIONS] [PLUGIN_NAME]
+
+Arguments:
+ [PLUGIN_NAME] Name of your Tauri plugin. If not specified, it will be infered from the current directory
Options:
- -n, --name Name of your Tauri plugin
+ --no-api Initializes a Tauri plugin without the TypeScript API
-v, --verbose... Enables verbose logging
- --api Initializes a Tauri plugin with TypeScript API
-d, --directory Set target directory for init [default: /home/runner/work/tauri-docs/tauri-docs]
-t, --tauri-path Path of the Tauri project to use (relative to the cwd)
-a, --author Author name
+ --android Whether to initialize an Android project for the plugin
+ --ios Whether to initialize an iOS project for the plugin
+ --mobile Whether to initialize Android and iOS projects for the plugin
-h, --help Print help
-V, --version Print version
```
@@ -91,21 +96,55 @@ Options:
Usage: cargo-tauri dev [OPTIONS] [ARGS]...
Arguments:
- [ARGS]... Command line arguments passed to the runner. Arguments after `--` are passed to the application
+ [ARGS]...
+ Command line arguments passed to the runner. Arguments after `--` are passed to the application
Options:
- -r, --runner Binary to use to run the application
- -v, --verbose... Enables verbose logging
- -t, --target Target triple to build against
- -f, --features [...] List of cargo features to activate
- -e, --exit-on-panic Exit on panic
- -c, --config JSON string or path to JSON file to merge with tauri.conf.json
- --release Run the code in release mode
- --no-watch Disable the file watcher
- --no-dev-server Disable the dev server for static files
- --port Specify port for the dev server for static files. Defaults to 1430 Can also be set using `TAURI_DEV_SERVER_PORT` env var
- -h, --help Print help
- -V, --version Print version
+ -r, --runner
+ Binary to use to run the application
+
+ -v, --verbose...
+ Enables verbose logging
+
+ -t, --target
+ Target triple to build against
+
+ -f, --features [...]
+ List of cargo features to activate
+
+ -e, --exit-on-panic
+ Exit on panic
+
+ -c, --config
+ JSON string or path to JSON file to merge with tauri.conf.json
+
+ --release
+ Run the code in release mode
+
+ --no-dev-server-wait
+ Skip waiting for the frontend dev server to start before building the tauri application
+
+ [env: TAURI_CLI_NO_DEV_SERVER_WAIT=]
+
+ --no-watch
+ Disable the file watcher
+
+ --force-ip-prompt
+ Force prompting for an IP to use to connect to the dev server on mobile
+
+ --no-dev-server
+ Disable the built-in dev server for static files
+
+ --port
+ Specify port for the built-in dev server for static files. Defaults to 1430
+
+ [env: TAURI_CLI_PORT=]
+
+ -h, --help
+ Print help (see a summary with '-h')
+
+ -V, --version
+ Print version
```
This command will open the WebView in development mode. It makes use of the `build.devPath` property from your `src-tauri/tauri.conf.json` file.
@@ -183,14 +222,15 @@ If you have entered a command to the `build.beforeBuildCommand` property, this o
Usage: cargo-tauri icon [OPTIONS] [INPUT]
Arguments:
- [INPUT] Path to the source icon (png, 1024x1024px with transparency) [default: ./app-icon.png]
+ [INPUT] Path to the source icon (png, 1240x1240px with transparency) [default: ./app-icon.png]
Options:
- -o, --output