mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
20 lines
333 B
Go
20 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)
|
|
}
|