badger: Index | Files

package cmd

import ""


Package Files

backup.go bank.go bench.go flatten.go info.go read_bench.go restore.go root.go rotate.go stream.go write_bench.go


var RootCmd = &cobra.Command{
    Use:               "badger",
    Short:             "Tools to manage Badger database.",
    PersistentPreRunE: validateRootCmdArgs,

RootCmd represents the base command when called without any subcommands

func Execute Uses

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Package cmd imports 29 packages (graph) and is imported by 8 packages. Updated 2021-01-26. Refresh now. Tools for package owners.