mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-08 17:25:14 -04:00
Replace mutiple args with flags
AB#1955
This commit is contained in:
parent
469b2ff46c
commit
1189078c5a
10 changed files with 336 additions and 587 deletions
|
@ -32,9 +32,9 @@ func newRecoverCmd() *cobra.Command {
|
|||
RunE: runRecover,
|
||||
}
|
||||
cmd.Flags().String("ip", "", "Instance IP address.")
|
||||
_ = cmd.MarkFlagRequired("ip")
|
||||
must(cmd.MarkFlagRequired("ip"))
|
||||
cmd.Flags().String("disk-uuid", "", "Disk UUID of the encrypted state disk.")
|
||||
_ = cmd.MarkFlagRequired("disk-uuid")
|
||||
must(cmd.MarkFlagRequired("disk-uuid"))
|
||||
cmd.Flags().String("master-secret", "", "Path to base64 encoded master secret.")
|
||||
return cmd
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue