MCPcopy Create free account
hub / github.com/compozy/agh / newVaultCommand

Function newVaultCommand

internal/cli/vault.go:34–44  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

32}
33
34func newVaultCommand(deps commandDeps) *cobra.Command {
35 cmd := &cobra.Command{
36 Use: vaultVaultKey,
37 Short: "Manage encrypted daemon vault metadata and write-only secrets",
38 }
39 cmd.AddCommand(newVaultListCommand(deps))
40 cmd.AddCommand(newVaultGetCommand(deps))
41 cmd.AddCommand(newVaultPutCommand(deps))
42 cmd.AddCommand(newVaultDeleteCommand(deps))
43 return cmd
44}
45
46func newVaultListCommand(deps commandDeps) *cobra.Command {
47 var prefix string

Callers 1

newRootCommandFunction · 0.85

Calls 4

newVaultListCommandFunction · 0.85
newVaultGetCommandFunction · 0.85
newVaultPutCommandFunction · 0.85
newVaultDeleteCommandFunction · 0.85

Tested by

no test coverage detected