cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DotCommands = []DotCommand{
	{"configure", ConfigureCmd},
	{"help", HelpCmd},
}

Functions

func ConfigureCmd

func ConfigureCmd(args []string)

ConfigureCmd is one of the dot commands, and it's executed when you type `toolbx .configure` This command run configuration wizard that helps you setup new installation of toolbx

func HelpCmd

func HelpCmd(args []string)

HelpCmd is behind '.help' dot command and print the list of the all dot commands

Types

type DotCommand

type DotCommand struct {
	Name string
	Func func([]string)
}

Jump to

Keyboard shortcuts

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