chore: cmd description.
This commit is contained in:
parent
ddf94bb963
commit
48b04a22d2
@ -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),
|
||||
}
|
||||
|
||||
|
||||
@ -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),
|
||||
}
|
||||
|
||||
|
||||
@ -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),
|
||||
}
|
||||
|
||||
|
||||
@ -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() {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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),
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user