create

package
v0.0.0-...-4e27ce1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 5 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
}

func New

func New(config Config) (*Command, error)

func (*Command) CobraCommand

func (c *Command) CobraCommand() *cobra.Command

func (*Command) Execute

func (c *Command) Execute(cmd *cobra.Command, args []string)

type Config

type Config struct {
	// Dependencies.
	Logger micrologger.Logger
}

Config represents the configuration used to update a new update command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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