func (c *infoCmd) Synopsis() string {
	return "Show server information."
}
Synopsis should return a one-line, short synopsis of the command.
This should be short (50 characters of less ideally).
package main
import (
	"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"
)
type infoCmd struct {
	ui      clui.UI
	flagset *flagset.FlagSet
	debug      bool
	address    string
	format     string
	serverCert string
	clientCert string
	clientKey  string
}
func NewInfoCmd(ui clui.UI) clui.Command {
	c := &infoCmd{
		ui:      ui,
		flagset: flagset.NewFlagSet("info", flag.ExitOnError),
	}
	c.init()
	return c
}
func (c *infoCmd) 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|tabular")
	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 *infoCmd) UI() clui.UI {
	return c.ui
}
func (c *infoCmd) FlagSet() *flagset.FlagSet {
	return c.flagset
}
func (c *infoCmd) Help() string {
	return `
Usage: 
  info [flags]
Description:
  Show server information as JSON or YAML.
Example:
  therm info
  therm info --format=json
`
}