File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-cli " : patch:breaking
3+ " @tauri-apps/cli " : patch:breaking
4+ ---
5+
6+ Renamed the ` plugin add ` command to ` add ` .
File renamed without changes.
Original file line number Diff line number Diff line change 1313
1414pub use anyhow:: Result ;
1515
16+ mod add;
1617mod build;
1718mod completions;
1819mod dev;
@@ -99,6 +100,7 @@ pub(crate) struct Cli {
99100enum Commands {
100101 Build ( build:: Options ) ,
101102 Dev ( dev:: Options ) ,
103+ Add ( add:: Options ) ,
102104 Icon ( icon:: Options ) ,
103105 Info ( info:: Options ) ,
104106 Init ( init:: Options ) ,
@@ -205,6 +207,7 @@ where
205207 match cli. command {
206208 Commands :: Build ( options) => build:: command ( options, cli. verbose ) ?,
207209 Commands :: Dev ( options) => dev:: command ( options) ?,
210+ Commands :: Add ( options) => add:: command ( options) ?,
208211 Commands :: Icon ( options) => icon:: command ( options) ?,
209212 Commands :: Info ( options) => info:: command ( options) ?,
210213 Commands :: Init ( options) => init:: command ( options) ?,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use clap::{Parser, Subcommand};
66
77use crate :: Result ;
88
9- mod add;
109mod android;
1110mod init;
1211mod ios;
@@ -27,15 +26,13 @@ pub struct Cli {
2726#[ derive( Subcommand ) ]
2827enum Commands {
2928 Init ( init:: Options ) ,
30- Add ( add:: Options ) ,
3129 Android ( android:: Cli ) ,
3230 Ios ( ios:: Cli ) ,
3331}
3432
3533pub fn command ( cli : Cli ) -> Result < ( ) > {
3634 match cli. command {
3735 Commands :: Init ( options) => init:: command ( options) ?,
38- Commands :: Add ( options) => add:: command ( options) ?,
3936 Commands :: Android ( cli) => android:: command ( cli) ?,
4037 Commands :: Ios ( cli) => ios:: command ( cli) ?,
4138 }
You can’t perform that action at this time.
0 commit comments