...

Package createcmd

import "github.com/peterbourgon/ff/v3/ffcli/examples/objectctl/pkg/createcmd"
Overview
Index

Overview ▾

func New

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

New returns a usable ffcli.Command for the create subcommand.

type Config

Config for the create subcommand, including a reference to the API client.

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

func (*Config) Exec

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

Exec function for this command.