pub struct ToolRunArgs {
pub package: String,
pub php: Option<String>,
pub with: Vec<String>,
pub args: Vec<OsString>,
}Fields§
§package: StringComposer package identifier, optionally with @<constraint>.
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.
args: Vec<OsString>Arguments forwarded to the tool. Use -- to separate when
forwarding flags that bougie would otherwise parse.
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