-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(cli): enhance plugin subcommand, closes #7749 #7990
Conversation
…auri-apps/tauri into refactor/cli-plugin-subcommand
@@ -25,17 +28,46 @@ pub struct Cli { | |||
|
|||
#[derive(Subcommand)] | |||
enum Commands { | |||
New(new::Options), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer create
instead of new
what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new
is the usually the term I see in bootstrapping CLIs when you have both init
and new
, for example, cargo new
and cargo init
(I honestly can't think of another example, but I am quite certain I saw it somewhere else)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or we could have both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sold me on the cargo example
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information