package raft import ( "github.com/mitchellh/cli" ) func New() *cmd { return &cmd{} } type cmd struct{} func (c *cmd) Run(args []string) int { return cli.RunResultHelp } func (c *cmd) Synopsis() string { return "Provides cluster-level tools for Consul operators" } func (c *cmd) Help() string { s := ` Usage: consul operator raft [options] The Raft operator command is used to interact with Consul's Raft subsystem. The command can be used to verify Raft peers or in rare cases to recover quorum by removing invalid peers. ` return s }