package listcmd

import "github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/listcmd"

Index

Functions

func New

func New(rootConfig *rootcmd.Config, out io.Writer) *ffcli.Command

New creates a new ffcli.Command for the list subcommand.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config for the list subcommand, including a reference to the global config, for access to global flags.

func (*Config) Exec

func (c *Config) Exec(ctx context.Context, _ []string) error

Exec function for this command.

Source Files

list.go

Version
v3.4.0 (latest)
Published
Jul 20, 2023
Platform
linux/amd64
Imports
8 packages
Last checked
2 weeks ago

Tools for package owners.