cmd

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context) error

Execute executes root command

func NewBlockCommand

func NewBlockCommand(rootCtx *RootContext) *cobra.Command

NewBlockCommand returns new `block' command

func NewRootCommand

func NewRootCommand(ctx context.Context) *cobra.Command

NewRootCommand returns new root command

Types

type BlockCommandContext

type BlockCommandContext struct {
	*RootContext
	// contains filtered or unexported fields
}

BlockCommandContext represents `block' command context shared with its children

type RootContext

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

RootContext represents root command context shared with its children

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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