mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 17:55:19 +00:00
20 lines
370 B
Go
20 lines
370 B
Go
//go:build rocksdb
|
|
// +build rocksdb
|
|
|
|
package rocksdb
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// RocksDBCmd defines the root command containing subcommands that assist in
|
|
// rocksdb related tasks such as manual compaction.
|
|
var RocksDBCmd = &cobra.Command{
|
|
Use: "rocksdb",
|
|
Short: "RocksDB util commands",
|
|
}
|
|
|
|
func init() {
|
|
RocksDBCmd.AddCommand(CompactRocksDBCmd())
|
|
}
|