mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-02 10:48:03 +08:00
- generate host keys and SSH keys - prompt for deploy key setup - generate gitrepo source - wait for source to sync
20 lines
297 B
Go
20 lines
297 B
Go
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)
|
|
}
|