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: boolRun the publish logic without sending anything to the registry server
quiet: boolRun 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: boolSkip validation of the uploaded package
package_path: PathBufDirectory containing the wasmer.toml, or a custom *.toml manifest file.
Defaults to current working directory.
wait: PublishWaitWait for package to be available on the registry before exiting.
timeout: DurationTimeout (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: boolWhether or not the patch field of the version of the package - if any - should be bumped.
non_interactive: boolDo 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
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§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