demo

package
v0.44.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

Command is a command to run the secrethub example app.

func NewCommand

func NewCommand(io ui.IO, newClient newClientFunc) *Command

NewCommand creates a new example app command.

func (*Command) Register

func (cmd *Command) Register(r cli.Registerer)

Register registers the command, arguments and flags on the provided Registerer.

type InitCommand

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

func NewInitCommand

func NewInitCommand(io ui.IO, newClient newClientFunc) *InitCommand

func (*InitCommand) Register

func (cmd *InitCommand) Register(r cli.Registerer)

Register registers the command, arguments and flags on the provided Registerer.

func (*InitCommand) Run

func (cmd *InitCommand) Run() error

Run handles the command with the options as specified in the command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL