mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
cli: adopt Cobra cli reference style (#997)
* adapt to Cobra CLI ref style
* linting
* change multi-line reference style
* lowercase short descriptions
* Revert "lowercase short descriptions"
This reverts commit 499dc3577a
.
* use 2 newlines on long description and add dots
* mark required flags
* Update cli/internal/cmd/iamcreateaws.go
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
* Update cli/internal/cmd/upgradeexecute.go
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
* Update cli/internal/cmd/upgradeexecute.go
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
8f88129cac
commit
e844ceb2b1
11 changed files with 51 additions and 30 deletions
|
@ -35,8 +35,8 @@ func NewRecoverCmd() *cobra.Command {
|
|||
cmd := &cobra.Command{
|
||||
Use: "recover",
|
||||
Short: "Recover a completely stopped Constellation cluster",
|
||||
Long: "Recover a Constellation cluster by sending a recovery key to an instance in the boot stage." +
|
||||
"\nThis is only required if instances restart without other instances available for bootstrapping.",
|
||||
Long: "Recover a Constellation cluster by sending a recovery key to an instance in the boot stage.\n\n" +
|
||||
"This is only required if instances restart without other instances available for bootstrapping.",
|
||||
Args: cobra.ExactArgs(0),
|
||||
RunE: runRecover,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue