Files
flux2/cmd/tk/create.go
stefanprodan 1371b4d4d3 Implement create source for ssh git repos
- generate host keys and SSH keys
- prompt for deploy key setup
- generate gitrepo source
- wait for source to sync
2020-04-24 22:32:17 +03:00

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)
}