chore: cmd description.

This commit is contained in:
Fernandez Ludovic 2019-04-20 17:32:05 +02:00
parent ddf94bb963
commit 48b04a22d2
6 changed files with 12 additions and 12 deletions

View File

@ -11,8 +11,8 @@ import (
// boltdbCmd represents the boltdb command
var boltdbCmd = &cobra.Command{
Use: "boltdb",
Short: "TODO",
Long: `TODO`,
Short: "Dump the content of BoltDB.",
Long: `Dump the content of BoltDB.`,
RunE: runE(boltdbRun),
}

View File

@ -11,8 +11,8 @@ import (
// consulCmd represents the consul command
var consulCmd = &cobra.Command{
Use: "consul",
Short: "TODO",
Long: `TODO`,
Short: "Dump the content of Consul.",
Long: `Dump the content of Consul.`,
RunE: runE(consulRun),
}

View File

@ -13,8 +13,8 @@ import (
// etcdCmd represents the etcd command
var etcdCmd = &cobra.Command{
Use: "etcd",
Short: "TODO",
Long: `TODO`,
Short: "Dump the content of etcd.",
Long: `Dump the content of etcd.`,
RunE: runE(etcdRun),
}

View File

@ -11,8 +11,8 @@ import (
// kvCmd represents the kv command
var kvCmd = &cobra.Command{
Use: "kv",
Short: "TODO",
Long: `TODO`,
Short: `Dump the content of a KV store.`,
Long: `Dump the content of a KV store.`,
}
func init() {

View File

@ -16,8 +16,8 @@ var cfgFile string
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "traefik-certs-dumper",
Short: "Dump Let's Encrypt certificates from Traefik",
Long: `TODO`,
Short: "Dump Let's Encrypt certificates from Traefik.",
Long: `Dump Let's Encrypt certificates from Traefik.`,
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
if cmd.Name() == "version" {
return nil

View File

@ -11,8 +11,8 @@ import (
// zookeeperCmd represents the zookeeper command
var zookeeperCmd = &cobra.Command{
Use: "zookeeper",
Short: "TODO",
Long: `TODO`,
Short: "Dump the content of zookeeper.",
Long: `Dump the content of zookeeper.`,
RunE: runE(zookeeperRun),
}