Merge "Generate user guide command links"
This commit is contained in:
commit
e25b89a51f
@ -34,6 +34,11 @@ import (
|
|||||||
"opendev.org/airship/airshipctl/pkg/log"
|
"opendev.org/airship/airshipctl/pkg/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const longRoot = `A unified entrypoint to various airship components
|
||||||
|
|
||||||
|
Find more information at: https://docs.airshipit.org/airshipctl/
|
||||||
|
`
|
||||||
|
|
||||||
// RootOptions stores global flags values
|
// RootOptions stores global flags values
|
||||||
type RootOptions struct {
|
type RootOptions struct {
|
||||||
Debug bool
|
Debug bool
|
||||||
@ -54,6 +59,7 @@ func NewRootCommand(out io.Writer) (*cobra.Command, *RootOptions) {
|
|||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
Use: "airshipctl",
|
Use: "airshipctl",
|
||||||
Short: "A unified entrypoint to various airship components",
|
Short: "A unified entrypoint to various airship components",
|
||||||
|
Long: longRoot,
|
||||||
SilenceErrors: true,
|
SilenceErrors: true,
|
||||||
SilenceUsage: true,
|
SilenceUsage: true,
|
||||||
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
A unified entrypoint to various airship components
|
A unified entrypoint to various airship components
|
||||||
|
|
||||||
|
Find more information at: https://docs.airshipit.org/airshipctl/
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
airshipctl [command]
|
airshipctl [command]
|
||||||
|
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
A unified entrypoint to various airship components
|
A unified entrypoint to various airship components
|
||||||
|
|
||||||
|
Find more information at: https://docs.airshipit.org/airshipctl/
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
A unified entrypoint to various airship components
|
A unified entrypoint to various airship components
|
||||||
|
|
||||||
|
Find more information at: https://docs.airshipit.org/airshipctl/
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
airshipctl [command]
|
airshipctl [command]
|
||||||
|
|
||||||
|
@ -6,6 +6,9 @@ A unified entrypoint to various airship components
|
|||||||
|
|
||||||
A unified entrypoint to various airship components
|
A unified entrypoint to various airship components
|
||||||
|
|
||||||
|
Find more information at: https://docs.airshipit.org/airshipctl/
|
||||||
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user