func init() { cli.Register("init", cli.Entry{ Description: "Initializes a working directory with a Luminos base project.", Usage: "init [directory]", Command: &initCommand{}, }) }
func init() { cli.Register("version", cli.Entry{ Name: "version", Description: "Prints software version.", Command: &versionCommand{}, }) }
// Registers the run command. func init() { cli.Register("run", cli.Entry{ Name: "run", Description: "Starts the server.", Command: &runCommand{}, }) }
func init() { // Describing the "init" subcommand. cli.Register("init", cli.Entry{ Description: "Creates a new Luminos site scaffold in the given PATH.", Usage: "init [PATH]", Command: &initCommand{}, }) }
func init() { // Describing the "version" subcommand. cli.Register("version", cli.Entry{ Name: "version", Description: "Prints software version.", Command: &versionCommand{}, }) }
func init() { // Describing the "run" subcommand. cli.Register("run", cli.Entry{ Name: "run", Description: "Runs a luminos server.", Arguments: []string{"c"}, Command: &runCommand{}, }) }
func init() { cli.Register("run", cli.Entry{ Name: "run", Description: "Runs a luminos server.", Arguments: []string{"c"}, Command: &runCommand{}, }) hosts = make(map[string]*host.Host) }