func (c *operationListCmd) Synopsis() string {
	return "List available operations."
}
Synopsis should return a one-line, short synopsis of the command.
This should be short (50 characters of less ideally).
package main
import (
	"bytes"
	"flag"
	"github.com/go-kit/kit/log"
	"github.com/go-kit/kit/log/level"
	"github.com/pborman/uuid"
	"github.com/pkg/errors"
	"github.com/spoke-d/clui"
	"github.com/spoke-d/clui/flagset"
	"github.com/spoke-d/thermionic/internal/exec"
	"github.com/spoke-d/thermionic/internal/json"
	"github.com/spoke-d/thermionic/pkg/api/daemon/operations"
)
type operationListCmd struct {
	ui      clui.UI
	flagset *flagset.FlagSet
	debug      bool
	address    string
	format     string
	serverCert string
	clientCert string
	clientKey  string
}
func NewOperationListCmd(ui clui.UI) clui.Command {
	c := &operationListCmd{
		ui:      ui,
		flagset: flagset.NewFlagSet("version", flag.ExitOnError),
	}
	c.init()
	return c
}
func (c *operationListCmd) init() {
	c.flagset.BoolVar(&c.debug, "debug", false, "debug logging")
	c.flagset.StringVar(&c.address, "address", "127.0.0.1:8080", "address of the api server")
	c.flagset.StringVar(&c.format, "format", "yaml", "format to output the information json|yaml")
	c.flagset.StringVar(&c.serverCert, "server-cert", "", "server certificate")
	c.flagset.StringVar(&c.clientCert, "client-cert", "", "client certificate")
	c.flagset.StringVar(&c.clientKey, "client-key", "", "client key")
}
func (c *operationListCmd) UI() clui.UI {
	return c.ui
}
func (c *operationListCmd) FlagSet() *flagset.FlagSet {
	return c.flagset
}
func (c *operationListCmd) Help() string {
	return `
Usage: 
  operation [flags] list
Description:
  Operations are asynchronous operations that run in the
  background of a node. If the node goes down, then the
  operation is not guaranteed to be started on another
  cluster node, when it takes over leadership of the
  cluster.
  Manual intervention maybe required in the event of a
  operation life cycle termination.
  Operation id isn't required in full, partial identifiers
  can be used to show and delete ongoing operations. If
  multiple operations are identified by the partial 
  identifier then a ambiguous error is returned.
Example:
  therm operations list
  therm operations --foramt=json
`
}