fix(cli.rs): plugin init --api usage

This commit is contained in:
Lucas Nogueira 2022-01-03 20:00:58 -03:00
parent 5b2db3f481
commit 45eba33dc1
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F
2 changed files with 3 additions and 3 deletions

View File

@ -330,7 +330,7 @@
"type": "boolean"
},
"category": {
"description": "The application kind.\n\nShould be one of the following:\nBusiness, DeveloperTool, Education, Entertainment, Finance, Game, ActionGame, AdventureGame, ArcadeGame, BoardGame, CardGame, CasinoGame, DiceGame, EducationalGame, FamilyGame, KidsGame, MusicGame, PuzzleGame, RacingGame, RolePlayingGame, SimulationGame, SportsGame, StrategyGame, TriviaGame, WordGame, GraphicsAndDesign, HealthcareAndFitness, Lifestyle, Medical, Music, News, Photography, Productivity, Reference, SocialNetworking, Sports, Travel, Utility, Video, Weather.",
"description": "The application kind.\n\nShould be one of the following: Business, DeveloperTool, Education, Entertainment, Finance, Game, ActionGame, AdventureGame, ArcadeGame, BoardGame, CardGame, CasinoGame, DiceGame, EducationalGame, FamilyGame, KidsGame, MusicGame, PuzzleGame, RacingGame, RolePlayingGame, SimulationGame, SportsGame, StrategyGame, TriviaGame, WordGame, GraphicsAndDesign, HealthcareAndFitness, Lifestyle, Medical, Music, News, Photography, Productivity, Reference, SocialNetworking, Sports, Travel, Utility, Video, Weather.",
"type": [
"string",
"null"

View File

@ -24,7 +24,7 @@ pub struct Options {
#[clap(short = 'n', long = "name")]
plugin_name: String,
/// Initializes a Tauri plugin with TypeScript API
#[clap(short, long)]
#[clap(long)]
api: bool,
/// Initializes a Tauri core plugin (internal usage)
#[clap(short, long, hide(true))]