pub enum NamespaceSubcommand {
Claim {
ecosystem: String,
package_name: String,
registry_url: Option<String>,
key: Option<String>,
},
Delegate {
ecosystem: String,
package_name: String,
delegate_did: String,
registry_url: Option<String>,
key: Option<String>,
},
Transfer {
ecosystem: String,
package_name: String,
new_owner_did: String,
registry_url: Option<String>,
key: Option<String>,
},
Lookup {
ecosystem: String,
package_name: String,
registry_url: Option<String>,
},
}Expand description
Subcommands for managing namespace claims and delegations.
Variants§
Claim
Claim a namespace in a package ecosystem.
Requires a verified platform claim (run auths id claim github first).
The system reads your verified platform identity from the registry —
no self-asserted usernames.
Fields
Delegate
Delegate namespace authority to another identity
Fields
Transfer
Transfer namespace ownership to another identity
Fields
Lookup
Look up namespace information
Trait Implementations§
Source§impl Clone for NamespaceSubcommand
impl Clone for NamespaceSubcommand
Source§fn clone(&self) -> NamespaceSubcommand
fn clone(&self) -> NamespaceSubcommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamespaceSubcommand
impl Debug for NamespaceSubcommand
Source§impl FromArgMatches for NamespaceSubcommand
impl FromArgMatches for NamespaceSubcommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for NamespaceSubcommand
impl Subcommand for NamespaceSubcommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for NamespaceSubcommand
impl RefUnwindSafe for NamespaceSubcommand
impl Send for NamespaceSubcommand
impl Sync for NamespaceSubcommand
impl Unpin for NamespaceSubcommand
impl UnsafeUnpin for NamespaceSubcommand
impl UnwindSafe for NamespaceSubcommand
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