Struct librojo::cli::BuildCommand
source · pub struct BuildCommand {
pub project: PathBuf,
pub output: Option<PathBuf>,
pub plugin: Option<PathBuf>,
pub watch: bool,
}Expand description
Generates a model or place file from the Rojo project.
Fields§
§project: PathBufPath to the project to serve. Defaults to the current directory.
output: Option<PathBuf>Where to output the result.
Should end in .rbxm, .rbxl, .rbxmx, or .rbxlx.
plugin: Option<PathBuf>Alternative to the output flag that outputs the result in the local plugins folder.
Should end in .rbxm or .rbxl.
watch: boolWhether to automatically rebuild when any input files change.
Implementations§
Trait Implementations§
source§impl Args for BuildCommand
impl Args for BuildCommand
source§impl CommandFactory for BuildCommand
impl CommandFactory for BuildCommand
source§fn into_app_for_update<'b>() -> Command<'b>
fn into_app_for_update<'b>() -> Command<'b>
Deprecated, replaced with
CommandFactory::command_for_updatesource§impl Debug for BuildCommand
impl Debug for BuildCommand
source§impl FromArgMatches for BuildCommand
impl FromArgMatches for BuildCommand
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(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§impl Parser for BuildCommand
impl Parser for BuildCommand
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error
Auto Trait Implementations§
impl RefUnwindSafe for BuildCommand
impl Send for BuildCommand
impl Sync for BuildCommand
impl Unpin for BuildCommand
impl UnwindSafe for BuildCommand
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