pub enum Commands {
Create {
description: String,
model: Option<ModelType>,
name: Option<String>,
output: Option<PathBuf>,
template: Option<String>,
in_place: bool,
},
Add {
feature: String,
model: Option<ModelType>,
project: Option<PathBuf>,
},
Improve {
aspect: ImprovementAspect,
model: Option<ModelType>,
file: Option<PathBuf>,
project: Option<PathBuf>,
},
Explain {
model: Option<ModelType>,
file: Option<PathBuf>,
project: Option<PathBuf>,
},
Debug {
error: String,
model: Option<ModelType>,
file: Option<PathBuf>,
project: Option<PathBuf>,
},
Init {
name: String,
description: Option<String>,
output: Option<PathBuf>,
template: Option<String>,
},
Config {
openai_key: Option<String>,
anthropic_key: Option<String>,
google_key: Option<String>,
default_model: Option<ModelType>,
show: bool,
validate: bool,
},
Build {
operation: BuildOperation,
},
Project {
operation: ProjectOperation,
},
Template {
operation: TemplateOperation,
},
}Expand description
Available CLI commands
Variants§
Create
Generate a new game prototype from natural language description
Fields
Add
Add features to existing prototype
Fields
Improve
Refactor or improve existing code
Fields
§
aspect: ImprovementAspectWhat to improve (performance, readability, features)
Explain
Ask AI to explain the current codebase
Fields
Debug
Debug code issues with AI assistance
Fields
Init
Initialize a new Bevy project with AI agent support
Fields
Config
Configure AI API keys and settings
Fields
Build
Build operations
Fields
§
operation: BuildOperationBuild operation to perform
Project
Project management commands
Fields
§
operation: ProjectOperationProject operation to perform
Template
Template management commands
Fields
§
operation: TemplateOperationTemplate operation to perform
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more