cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func NewCommandCmd

func NewCommandCmd() *cobra.Command

NewCommandCmd creates the "command" command.

func NewCreateCmd

func NewCreateCmd() *cobra.Command

NewCreateCmd creates the "create" command.

func NewDeleteCmd

func NewDeleteCmd() *cobra.Command

NewDeleteCmd creates the "delete" command.

func NewInitCmd

func NewInitCmd() *cobra.Command

NewInitCmd creates the "init" command.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new root command.

func NewStartCmd

func NewStartCmd() *cobra.Command

NewStartCmd creates the "start" command.

func NewStatusCmd

func NewStatusCmd() *cobra.Command

NewStatusCmd creates the "status" command.

func NewStopCmd

func NewStopCmd() *cobra.Command

NewStopCmd creates the "stop" command.

Types

type CommandCmd

type CommandCmd struct{}

CommandCmd holds the "command" commands flags.

func (*CommandCmd) Run

func (cmd *CommandCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "command" command logic.

type CreateCmd

type CreateCmd struct{}

CreateCmd holds the "create" command flags.

func (*CreateCmd) Run

func (cmd *CreateCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "create" command logic.

type DeleteCmd

type DeleteCmd struct{}

DeleteCmd holds the "delete" command flags.

func (*DeleteCmd) Run

func (cmd *DeleteCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "delete" command logic.

type InitCmd

type InitCmd struct{}

InitCmd holds the "init" command flags.

func (*InitCmd) Run

func (cmd *InitCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "init" command logic.

type StartCmd

type StartCmd struct{}

StartCmd holds the "start" command flags.

func (*StartCmd) Run

func (cmd *StartCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "start" command logic.

type StatusCmd

type StatusCmd struct{}

StatusCmd holds the "status" command flags.

func (*StatusCmd) Run

func (cmd *StatusCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs the "status" command logic.

type StopCmd

type StopCmd struct{}

StopCmd holds the "stop" command flags.

func (*StopCmd) Run

func (cmd *StopCmd) Run(ctx context.Context, options *options.Options, log log.Logger) error

Run runs "stop" the command logic.

Jump to

Keyboard shortcuts

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