pub struct BuildOpentmkCli {
pub arch: CommonArchCli,
pub name: Option<String>,
pub config: Option<PathBuf>,
pub release: bool,
pub dir: PathBuf,
pub verbose: bool,
pub locked: bool,
pub install_missing_deps: bool,
}Expand description
Build OpenTMK and package it into a bootable VHD.
Fields§
§arch: CommonArchCliTarget architecture for the OpenTMK build. Defaults to x86-64.
name: Option<String>Custom name for the output .efi, .vhd, and .pdb (default opentmk).
config: Option<PathBuf>Path to a JSON test-selection config to embed in the built VHD. If
omitted, the VHD boots the unconfigured opentmk.efi.
release: boolBuild using release profile.
dir: PathBufDirectory for the output artifacts.
verbose: boolpass --verbose to cargo
locked: boolpass --locked to cargo
install_missing_deps: boolAutomatically install any missing required dependencies.
Trait Implementations§
Source§impl Args for BuildOpentmkCli
impl Args for BuildOpentmkCli
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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 FromArgMatches for BuildOpentmkCli
impl FromArgMatches for BuildOpentmkCli
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 IntoPipeline for BuildOpentmkCli
impl IntoPipeline for BuildOpentmkCli
fn into_pipeline(self, backend_hint: PipelineBackendHint) -> Result<Pipeline>
Auto Trait Implementations§
impl Freeze for BuildOpentmkCli
impl RefUnwindSafe for BuildOpentmkCli
impl Send for BuildOpentmkCli
impl Sync for BuildOpentmkCli
impl Unpin for BuildOpentmkCli
impl UnsafeUnpin for BuildOpentmkCli
impl UnwindSafe for BuildOpentmkCli
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