mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-15 08:16:52 +00:00
Generate cmd docs
This commit is contained in:
parent
0935a637f9
commit
3d7349ee53
33 changed files with 38 additions and 38 deletions
|
|
@ -35,7 +35,7 @@ the bootstrap command will perform an upgrade if needed.`,
|
|||
# Run bootstrap for a public repository on a personal account
|
||||
bootstrap gitlab --owner=<user> --repository=<repo name> --private=false --personal=true
|
||||
|
||||
# Run bootstrap for a private repo hosted on GitLab server
|
||||
# Run bootstrap for a private repo hosted on a GitLab server
|
||||
bootstrap gitlab --owner=<group> --repository=<repo name> --hostname=<domain>
|
||||
`,
|
||||
RunE: bootstrapGitLabCmdRun,
|
||||
|
|
@ -52,7 +52,7 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
bootstrapGitLabCmd.Flags().StringVar(&glOwner, "owner", "", "GitLab user or organization name")
|
||||
bootstrapGitLabCmd.Flags().StringVar(&glOwner, "owner", "", "GitLab user or group name")
|
||||
bootstrapGitLabCmd.Flags().StringVar(&glRepository, "repository", "", "GitLab repository name")
|
||||
bootstrapGitLabCmd.Flags().BoolVar(&glPersonal, "personal", false, "is personal repository")
|
||||
bootstrapGitLabCmd.Flags().BoolVar(&glPrivate, "private", true, "is private repository")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue