commands

package
v0.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImportCommand

func NewImportCommand(c *Context) *cobra.Command

func NewListCommand

func NewListCommand(c *Context) *cobra.Command

func NewRootCommand

func NewRootCommand(c *Context, name string) *cobra.Command

NewRootCommand returns new root command

func NewServeCommand

func NewServeCommand(c *Context) *cobra.Command

NewServeCommand returns new root command

Types

type Context

type Context struct {
	Context context.Context
	// contains filtered or unexported fields
}

Context represents root command context shared with its children

Jump to

Keyboard shortcuts

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