Struct wasmer_cli::commands::package::publish::PackagePublish
source · pub struct PackagePublish {
pub env: WasmerEnv,
pub dry_run: bool,
pub quiet: bool,
pub package_namespace: Option<String>,
pub package_name: Option<String>,
pub package_version: Option<Version>,
pub no_validate: bool,
pub package_path: PathBuf,
pub wait: PublishWait,
pub timeout: Duration,
pub bump: bool,
pub non_interactive: bool,
}
Expand description
Publish (push and tag) a package to the registry.
Fields§
§env: WasmerEnv
§dry_run: bool
Run the publish logic without sending anything to the registry server
quiet: bool
Run the publish command without any output
package_namespace: Option<String>
Override the namespace of the package to upload
package_name: Option<String>
Override the name of the package to upload
package_version: Option<Version>
Override the package version of the uploaded package in the wasmer.toml
no_validate: bool
Skip validation of the uploaded package
package_path: PathBuf
Directory containing the wasmer.toml
, or a custom *.toml manifest file.
Defaults to current working directory.
wait: PublishWait
Wait for package to be available on the registry before exiting.
timeout: Duration
Timeout (in seconds) for the publish query to the registry.
Note that this is not the timeout for the entire publish process, but for each individual query to the registry during the publish flow.
bump: bool
Whether or not the patch field of the version of the package - if any - should be bumped.
non_interactive: bool
Do not prompt for user input.
Implementations§
Trait Implementations§
source§impl Args for PackagePublish
impl Args for PackagePublish
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
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 PackagePublish
impl AsyncCliCommand for PackagePublish
source§impl CommandFactory for PackagePublish
impl CommandFactory for PackagePublish
source§impl Debug for PackagePublish
impl Debug for PackagePublish
source§impl FromArgMatches for PackagePublish
impl FromArgMatches for PackagePublish
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>
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>
ArgMatches
to self
.source§impl Parser for PackagePublish
impl Parser for PackagePublish
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for PackagePublish
impl RefUnwindSafe for PackagePublish
impl Send for PackagePublish
impl Sync for PackagePublish
impl Unpin for PackagePublish
impl UnwindSafe for PackagePublish
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more