cmd

package
v0.0.0-...-841f565 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 67 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallCLIModules

func InstallCLIModules(vm *typescript.VirtualMachine, cmd CMD, args []string, flags map[string]interface{}) error

InstallCLIModules forwards OS and CLI arguments to typescript space

Types

type ArkCLI

type ArkCLI struct {
	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

func BuildCLI

func BuildCLI() (*ArkCLI, error)

func (ArkCLI) Execute

func (a ArkCLI) Execute() (exitCode int)

type CMD

type CMD interface {
	ArgsLenAtDash() int
}

CMD an interface that mimics cobra to define dependencies required by InstallCLIModules

Directories

Path Synopsis
ui

Jump to

Keyboard shortcuts

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