Struct wasmer_edge_cli::cmd::app::create::CmdAppCreate
source · pub struct CmdAppCreate {
pub no_validate: bool,
pub non_interactive: bool,
pub offline: bool,
pub owner: Option<String>,
pub new_package_name: Option<String>,
pub name: Option<String>,
pub path: Option<PathBuf>,
pub no_wait: bool,
pub api: ApiOpts,
pub fmt: ItemFormatOpts,
pub package: Option<String>,
/* private fields */
}
Fields§
§no_validate: bool
Skip local schema validation.
non_interactive: bool
Do not prompt for user input.
offline: bool
Do not interact with any APIs.
owner: Option<String>
The owner of the app.
new_package_name: Option<String>
Name to use when creating a new package.
name: Option<String>
The name of the app (can be changed later)
path: Option<PathBuf>
The path to a YAML file the app config.
no_wait: bool
Do not wait for the app to become reachable.
api: ApiOpts
§fmt: ItemFormatOpts
§package: Option<String>
Name of the package to use.
Implementations§
source§impl CmdAppCreate
impl CmdAppCreate
pub async fn exec( self ) -> Result<(AppConfigV1, Option<DeployAppVersion>), Error>
Trait Implementations§
source§impl Args for CmdAppCreate
impl Args for CmdAppCreate
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
source§impl AsyncCliCommand for CmdAppCreate
impl AsyncCliCommand for CmdAppCreate
source§impl CommandFactory for CmdAppCreate
impl CommandFactory for CmdAppCreate
source§impl Debug for CmdAppCreate
impl Debug for CmdAppCreate
source§impl FromArgMatches for CmdAppCreate
impl FromArgMatches for CmdAppCreate
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 CmdAppCreate
impl Parser for CmdAppCreate
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
§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.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl RefUnwindSafe for CmdAppCreate
impl Send for CmdAppCreate
impl Sync for CmdAppCreate
impl Unpin for CmdAppCreate
impl UnwindSafe for CmdAppCreate
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