Documentation ¶ Index ¶ func NewCmd() *cobra.Command type ListOptions func (opts *ListOptions) Pre(cmd *cobra.Command, _ []string) error func (opts *ListOptions) Run(ctx context.Context, args []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCmd ¶ func NewCmd() *cobra.Command Types ¶ type ListOptions ¶ type ListOptions struct { Status bool `long:"status" short:"s" usage:"Also display the status of the metros"` Output string `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list,raw" default:"table"` } func (*ListOptions) Pre ¶ func (opts *ListOptions) Pre(cmd *cobra.Command, _ []string) error func (*ListOptions) Run ¶ func (opts *ListOptions) Run(ctx context.Context, args []string) error Source Files ¶ View all Source files list.go Click to show internal directories. Click to hide internal directories.