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.
20 lines
297 B
Go
20 lines
297 B
Go
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
var createCmd = &cobra.Command{
|
||
|
Use: "create",
|
||
|
Short: "Create commands",
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
interval string
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
createCmd.PersistentFlags().StringVar(&interval, "interval", "1m", "source sync interval")
|
||
|
rootCmd.AddCommand(createCmd)
|
||
|
}
|