Documentation ¶
Overview ¶
Package program provides the entry point to Elvish. Its subpackages correspond to subprograms of Elvish.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon runs the daemon subprogram.
type Program ¶
type Program interface { // Main runs the subprogram, with given standard files and arguments. The // return value will be used as the exit status of the entire program. Main(fds [3]*os.File, args []string) int }
Program represents a subprogram.
func FindProgram ¶
func FindProgram(flag *flagSet) Program
FindProgram finds a suitable Program according to flags. It does not have any side effects.
type ShowCorrectUsage ¶
type ShowCorrectUsage struct {
// contains filtered or unexported fields
}
type ShowHelp ¶
type ShowHelp struct {
// contains filtered or unexported fields
}
ShowHelp shows help message.
Directories ¶
Path | Synopsis |
---|---|
Package daemon provides the entry point of the daemon sub-program and helpers to spawn a daemon process.
|
Package daemon provides the entry point of the daemon sub-program and helpers to spawn a daemon process. |
Package shell is the entry point for the terminal interface of Elvish.
|
Package shell is the entry point for the terminal interface of Elvish. |
Package web is the entry point for the backend of the web interface of Elvish.
|
Package web is the entry point for the backend of the web interface of Elvish. |
Click to show internal directories.
Click to hide internal directories.