Documentation
¶
Overview ¶
Package prog provides the entry point to Elvish. Its subpackages correspond to subprograms of Elvish.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeprecationLevel = 18
DeprecationLevel is a global flag that controls which deprecations to show. If its value is X, Elvish shows deprecations that should be shown for version 0.X.
View Source
var ErrNextProgram = errors.New("next program")
ErrNextProgram is a special error that may be returned by Program.Run that is part of a Composite program, indicating that the next program should be tried.
Functions ¶
func BadUsage ¶
BadUsage returns a special error that may be returned by Program.Run. It causes the main function to print out a message, the usage information and exit with 2.
Types ¶
type DaemonPaths ¶ added in v0.18.0
type DaemonPaths struct {
DB, Sock string
}
type FlagSet ¶ added in v0.18.0
func (*FlagSet) DaemonPaths ¶ added in v0.18.0
func (fs *FlagSet) DaemonPaths() *DaemonPaths
Click to show internal directories.
Click to hide internal directories.