pub enum Action {
Vaults(VaultsArgs),
Items(ItemsArgs),
Tags(TagsArgs),
Get(GetArgs),
Read(ReadArgs),
Inject(InjectArgs),
Create(CreateItemArgs),
Whoami(WhoamiArgs),
Permissions(PermissionsArgs),
}Variants§
Vaults(VaultsArgs)
List the vaults this account can see (filtered by policy).
Items(ItemsArgs)
List items (filtered by vault, tags, category, and policy).
Tags(TagsArgs)
List distinct tags across visible items.
Get(GetArgs)
Fetch metadata for one item. Fields are filtered by policy —
labels/types stay visible, value on denied fields is dropped.
Read(ReadArgs)
Resolve a single op://vault/item/field reference.
Inject(InjectArgs)
Substitute every op://… reference in a template. Each ref
is gated through the same policy as read before op inject
runs, so the whole call aborts if any ref is hidden.
Create(CreateItemArgs)
Create a new item. Gated by the deny-by-default [create]
block; the agent must be explicitly allowed in a vault.
Whoami(WhoamiArgs)
Confirm the stored credentials work.
Permissions(PermissionsArgs)
Inspect or scaffold the permissions policy.
Trait Implementations§
Source§impl FromArgMatches for Action
impl FromArgMatches for Action
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 Action
impl Subcommand for Action
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 Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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