mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
fix(cli.rs): plugin init --api
usage
This commit is contained in:
parent
5b2db3f481
commit
45eba33dc1
@ -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"
|
||||
@ -1501,4 +1501,4 @@
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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))]
|
||||
|
Loading…
Reference in New Issue
Block a user