Enum noosphere_cli::cli::FollowCommand
source · pub enum FollowCommand {
Add {
name: Option<String>,
sphere_id: Option<Did>,
},
Remove {
by_name: Option<String>,
by_sphere_id: Option<Did>,
},
Rename {
from: String,
to: Option<String>,
},
List {
as_json: bool,
},
}Expand description
Follow and/or unfollow other spheres
Variants§
Add
Fields
Follow a sphere, assigning it a personalized nickname
Remove
Fields
Unfollow a sphere, either by nickname or by sphere ID
Rename
Fields
Rename a sphere that you currently follow to something new
List
Show a list of all the spheres that you follow
Trait Implementations§
source§impl Debug for FollowCommand
impl Debug for FollowCommand
source§impl FromArgMatches for FollowCommand
impl FromArgMatches for FollowCommand
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 FollowCommand
impl Subcommand for FollowCommand
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
source§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 RefUnwindSafe for FollowCommand
impl Send for FollowCommand
impl Sync for FollowCommand
impl Unpin for FollowCommand
impl UnwindSafe for FollowCommand
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