cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDisableCommand added in v0.1.5

func NewDisableCommand() *cli.Command

func NewEnableCommand added in v0.1.5

func NewEnableCommand() *cli.Command

func NewInstallCommand

func NewInstallCommand() *cli.Command

func NewListCommand

func NewListCommand() *cli.Command

func NewPinCommand added in v0.1.9

func NewPinCommand() *cli.Command

func NewRemoveCommand added in v0.2.0

func NewRemoveCommand() *cli.Command

func NewShowCommand added in v0.1.8

func NewShowCommand() *cli.Command

func NewUnpinCommand added in v0.1.9

func NewUnpinCommand() *cli.Command

func NewUpgradeCommand

func NewUpgradeCommand() *cli.Command

func Run

func Run() int

Types

type ConfigFile

type ConfigFile struct {
	InstallAll bool   `toml:"install_all"`
	BinDir     string `toml:"bin_dir"`
	DataDir    string `toml:"data_dir"`
}

func NewConfigFile

func NewConfigFile(path string) (*ConfigFile, error)

func NewDefaultConfigFile

func NewDefaultConfigFile() (*ConfigFile, error)

Jump to

Keyboard shortcuts

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