Alphabetize
This commit is contained in:
parent
b25bf0c0c9
commit
bde32e964f
@ -76,12 +76,6 @@ func (e *Environment) Cli(args []string) int {
|
||||
return command.Run(e, args)
|
||||
}
|
||||
|
||||
// Returns the UI for the environment. The UI is the interface that should
|
||||
// be used for all communication with the outside world.
|
||||
func (e *Environment) Ui() Ui {
|
||||
return e.ui
|
||||
}
|
||||
|
||||
// Prints the CLI help to the UI.
|
||||
func (e *Environment) PrintHelp() {
|
||||
// Created a sorted slice of the map keys and record the longest
|
||||
@ -113,3 +107,9 @@ func (e *Environment) PrintHelp() {
|
||||
e.ui.Say(" %v %v\n", key, command.Synopsis())
|
||||
}
|
||||
}
|
||||
|
||||
// Returns the UI for the environment. The UI is the interface that should
|
||||
// be used for all communication with the outside world.
|
||||
func (e *Environment) Ui() Ui {
|
||||
return e.ui
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user