tauri/.changes/cli-plugin-init.md
Amr Bashir 4caa1cca99
refactor(cli): enhance plugin subcommand, closes #7749 (#7990)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-11 15:34:33 +00:00

883 B

tauri-cli @tauri-apps/cli
patch:breaking patch:breaking

The tauri plugin subcommand is receving a couple of consitency and quality of life improvements:

  • Renamed tauri plugin android/ios add command to tauri plugin android/ios init to match the tauri plugin init command.
  • Removed the -n/--name argument from the tauri plugin init, tauri plugin android/ios init, and is now parsed from the first positional argument.
  • Added tauri plugin new to create a plugin in a new directory.
  • Changed tauri plugin init to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one.
  • Changed tauri plugin init to NOT generate mobile projects by default, you can opt-in to generate them using --android and --ios flags or --mobile flag or initalize them later using tauri plugin android/ios init.