pub struct ToolRunArgs {
pub php: Option<String>,
pub with: Vec<String>,
pub command: Vec<OsString>,
}Fields§
§php: Option<String>Pin the tool to a specific PHP for this run.
with: Vec<String>Extra composer package or PHP extension, same shape as
tool install --with. Repeatable.
command: Vec<OsString>The tool’s Composer package (optionally @<constraint>) followed
by the arguments to forward to it. bougie’s own options must come
before the package; everything from the package onward is passed
to the tool verbatim, so no -- separator is needed.
Trait Implementations§
Source§impl Args for ToolRunArgs
impl Args for ToolRunArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ToolRunArgs
impl Debug for ToolRunArgs
Source§impl FromArgMatches for ToolRunArgs
impl FromArgMatches for ToolRunArgs
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.Auto Trait Implementations§
impl Freeze for ToolRunArgs
impl RefUnwindSafe for ToolRunArgs
impl Send for ToolRunArgs
impl Sync for ToolRunArgs
impl Unpin for ToolRunArgs
impl UnsafeUnpin for ToolRunArgs
impl UnwindSafe for ToolRunArgs
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