mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
refactor: changed required number of args for secrets list
This commit is contained in:
parent
0569329529
commit
07e3d0eb7a
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ var secretsRetrieveCmd = &cobra.Command{
|
||||||
|
|
||||||
var secretsListCmd = &cobra.Command{
|
var secretsListCmd = &cobra.Command{
|
||||||
Use: "list",
|
Use: "list",
|
||||||
Args: cobra.MinimumNArgs(1),
|
Args: cobra.ExactArgs(0),
|
||||||
Short: "Lists all the secret IDs and their values.",
|
Short: "Lists all the secret IDs and their values.",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
store, err := secrets.OpenStore(secretsFile)
|
store, err := secrets.OpenStore(secretsFile)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue