pub(crate) enum Commands {
Init {
name: String,
passcode: Option<String>,
nopasscode: bool,
salt: Option<String>,
config_dir: String,
config_file: Option<String>,
},
Passcode {
command: PasscodeCommands,
},
Incept {Show 17 fields
name: String,
alias: String,
passcode: Option<String>,
nopasscode: bool,
file: Option<String>,
transferable: Option<bool>,
wits: Vec<String>,
toad: Option<u32>,
icount: Option<String>,
isith: Option<String>,
ncount: Option<String>,
nsith: Option<String>,
est_only: bool,
data: Option<String>,
delpre: Option<String>,
proxy: Option<String>,
timeout: u64,
},
Status {
name: String,
alias: String,
},
Rotate {Show 13 fields
name: String,
alias: String,
passcode: Option<String>,
nopasscode: bool,
isith: Option<String>,
nsith: Option<String>,
ncount: Option<String>,
toad: Option<u32>,
cuts: Vec<String>,
adds: Vec<String>,
data: Option<String>,
proxy: Option<String>,
timeout: u64,
},
Oobi {
command: OobiCommands,
},
Multisig {
command: MultisigCommands,
},
Delegate {
command: DelegateCommands,
},
}Variants§
Init
Initialize a keystore and database environment
Fields
Passcode
Passcode management commands
Fields
§
command: PasscodeCommandsIncept
Incept a new KERI identifier
Fields
Status
Display status of a KERI identifier
Rotate
Rotate keys for an existing identifier
Fields
Oobi
Out-of-band introductions
Fields
§
command: OobiCommandsMultisig
Group (multisig) identifiers
Fields
§
command: MultisigCommandsDelegate
Delegation, delegator side
Fields
§
command: DelegateCommandsTrait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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