mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
333 B
Go
21 lines
333 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var bootstrapCmd = &cobra.Command{
|
|
Use: "bootstrap",
|
|
Short: "Bootstrap commands",
|
|
}
|
|
|
|
var (
|
|
bootstrapVersion string
|
|
)
|
|
|
|
func init() {
|
|
bootstrapCmd.PersistentFlags().StringVar(&bootstrapVersion, "version", "master", "toolkit tag or branch")
|
|
|
|
rootCmd.AddCommand(bootstrapCmd)
|
|
}
|