22 lines
295 B
Go
22 lines
295 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
type HelpCommand struct {
|
|
// nothing yet
|
|
}
|
|
|
|
var helpCommand HelpCommand
|
|
|
|
func (x *HelpCommand) Execute(args []string) error {
|
|
fmt.Println("stub help is here")
|
|
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
parser.AddCommand("help",
|
|
"Help for this tool.",
|
|
"",
|
|
&helpCommand)
|
|
}
|