#19 Revel version command added

This commit is contained in:
Jeevanandam M
2016-05-28 11:07:43 -07:00
parent 1f8f106573
commit ced303ede6
2 changed files with 38 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ package main
import (
"flag"
"fmt"
"github.com/agtorre/gocolorize"
"io"
"math/rand"
"os"
@@ -12,9 +11,11 @@ import (
"strings"
"text/template"
"time"
"github.com/agtorre/gocolorize"
)
// Cribbed from the genius organization of the "go" command.
// Command structure cribbed from the genius organization of the "go" command.
type Command struct {
Run func(args []string)
UsageLine, Short, Long string
@@ -36,6 +37,7 @@ var commands = []*Command{
cmdPackage,
cmdClean,
cmdTest,
cmdVersion,
}
func main() {