package deletecmd

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

Index

Functions

func New

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

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

Types

type Config

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

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

func (*Config) Exec

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

Exec function for this command.

Source Files

delete.go

Version
v3.4.0 (latest)
Published
Jul 20, 2023
Platform
linux/amd64
Imports
7 packages
Last checked
1 month ago

Tools for package owners.