importcmd

package
v0.0.0-...-95f6ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImportCmd

func NewImportCmd() *cobra.Command

NewImportCmd creates import cmd.

func NewImportContextCmd

func NewImportContextCmd() *cobra.Command

Types

type ImportCmd

type ImportCmd struct {
	Cmd  *cobra.Command
	Args []string
}

ImportCmd defines parent import.

func (*ImportCmd) Run

func (c *ImportCmd) Run() error

Run import help.

type ImportContextCmd

type ImportContextCmd struct {
	cmd.CommonCmd
	Path string
	Cmd  *cobra.Command
	Args []string
}

func (*ImportContextCmd) Run

func (c *ImportContextCmd) Run() error

Jump to

Keyboard shortcuts

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