pub enum Command {
Show 31 variants
Init {
vault: String,
},
Env {
vault: String,
},
Restore {
vault: String,
},
Recover,
Add {
key: String,
desc: Option<String>,
group: Option<String>,
scoped: bool,
tag: Vec<String>,
vault: String,
},
Generate {
key: String,
length: usize,
hex: bool,
desc: Option<String>,
group: Option<String>,
tag: Vec<String>,
vault: String,
},
Rotate {
key: Option<String>,
all: bool,
generate: bool,
length: usize,
hex: bool,
list: bool,
json: bool,
vault: String,
},
Rm {
key: String,
vault: String,
},
Get {
key: String,
vault: String,
},
Edit {
key: Option<String>,
scoped: bool,
group: Option<String>,
vault: String,
},
Ls {
tag: Vec<String>,
json: bool,
vault: String,
},
Export {
tag: Vec<String>,
json: bool,
vault: String,
},
Import {
file: String,
force: bool,
group: Option<String>,
vault: String,
},
Describe {
key: String,
description: String,
example: Option<String>,
tag: Vec<String>,
rotate_every: Option<String>,
expires: Option<String>,
vault: String,
},
Info {
tag: Vec<String>,
json: bool,
vault: String,
},
Skeleton {
output: Option<String>,
vault: String,
},
Exec {
only: Vec<String>,
tag: Vec<String>,
clean_env: bool,
vault: String,
command: Vec<String>,
},
Agent {
sub: AgentCommand,
},
Mcp {
vault: String,
allow_exec: bool,
},
Policy {
sub: PolicyCommand,
},
Circle {
sub: Option<CircleCommand>,
json: bool,
vault: String,
},
Authorize {
pubkey: String,
name: Option<String>,
force: bool,
allow_ssh_rsa: bool,
vault: String,
},
Revoke {
recipient: String,
rotate: bool,
vault: String,
},
Group {
sub: GroupCommand,
},
Verify {
vault: String,
},
Doctor {
vault: String,
},
Scan {
paths: Vec<String>,
vault: String,
},
Diff {
git_ref: String,
show_values: bool,
json: bool,
vault: String,
},
SetupMergeDriver,
MergeDriver {
base: String,
ours: String,
theirs: String,
},
Completion {
action: CompletionAction,
},
}Variants§
Init
Initialize a new vault and generate a keypair
Env
Write a .envrc for direnv integration
Restore
Restore MURK_KEY from a BIP39 recovery phrase
Recover
Re-derive recovery phrase from current MURK_KEY
Add
Add or update a secret
Fields
Generate
Generate a random secret and store it
Fields
Rotate
Rotate secrets with new values
Fields
Rm
Remove a secret
Get
Get a single decrypted value
Edit
Edit secrets in $EDITOR
Fields
Ls
List all key names
Fields
Export
Export all secrets as shell export statements
Fields
Import
Import secrets from a .env file
Fields
Describe
Add or update a key description
Fields
Info
Show public schema and key info
Fields
Skeleton
Export schema-only vault with no secrets or recipients
Exec
Run a command with secrets injected as environment variables
Fields
Agent
Agent-oriented commands (schema-only output for AI agent prompts)
Fields
sub: AgentCommandMcp
Run an MCP (Model Context Protocol) stdio server for AI agents
Fields
Policy
Manage the agent access policy
Fields
sub: PolicyCommandCircle
Manage recipients
Authorize
Add a recipient to the vault
Fields
Revoke
Remove a recipient from the vault
Fields
Group
Manage recipient groups
Fields
sub: GroupCommandVerify
Verify vault integrity without exporting secrets
Doctor
Check the surrounding repo for hygiene issues
Scan
Scan files for leaked secret values
Fields
Diff
Show secret changes vs a git ref
Fields
SetupMergeDriver
Configure git to use murk’s merge driver for .murk files
MergeDriver
Git merge driver for .murk vault files (called by git)
Fields
Completion
Generate or install shell completions
Fields
action: CompletionActionTrait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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<'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>
ArgMatches to self.Source§impl Subcommand for Command
impl Subcommand for Command
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
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
Self can parse a specific subcommand