traefik-certs-dumper/cmd/etcd.go
2019-04-20 14:47:18 +02:00

25 lines
399 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// etcdCmd represents the etcd command
var etcdCmd = &cobra.Command{
Use: "etcd",
Short: "TODO",
Long: `TODO`,
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Println("etcd called")
return nil
},
}
func init() {
kvCmd.AddCommand(etcdCmd)
etcdCmd.Flags().Int("sync-period", 0, "Sync period for etcd in seconds.")
}