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 // boltdbCmd represents the boltdb command
var boltdbCmd = &cobra.Command{ var boltdbCmd = &cobra.Command{
Use: "boltdb", Use: "boltdb",
Short: "TODO", Short: "Dump the content of BoltDB.",
Long: `TODO`, Long: `Dump the content of BoltDB.`,
RunE: runE(boltdbRun), RunE: runE(boltdbRun),
} }

View File

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

View File

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

View File

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

View File

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

View File

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