fix default installed conf so loadable
add version command to warren
This commit is contained in:
parent
424e386612
commit
ff08b0470e
|
@ -26,6 +26,7 @@ func main() {
|
||||||
warren.RegisterCommand(buildCmd)
|
warren.RegisterCommand(buildCmd)
|
||||||
warren.RegisterCommand(deployCmd)
|
warren.RegisterCommand(deployCmd)
|
||||||
warren.RegisterCommand(runCmd)
|
warren.RegisterCommand(runCmd)
|
||||||
|
warren.RegisterCommand(versionCmd)
|
||||||
args := os.Args[1:]
|
args := os.Args[1:]
|
||||||
if len(args) == 0 || args[0] == "-h" {
|
if len(args) == 0 || args[0] == "-h" {
|
||||||
usage()
|
usage()
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
Loading…
Reference in New Issue