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

25 lines
396 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// consulCmd represents the consul command
var consulCmd = &cobra.Command{
Use: "consul",
Short: "TODO",
Long: `TODO`,
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Println("consul called")
return nil
},
}
func init() {
kvCmd.AddCommand(consulCmd)
consulCmd.Flags().String("token", "", "Token for consul.")
}