1
0
mirror of https://github.com/kidoman/embd synced 2024-05-29 07:08:04 +02:00
embd/embd/main.go
2014-04-16 14:05:13 +05:30

27 lines
389 B
Go

package main
import (
"os"
"github.com/codegangsta/cli"
_ "github.com/kidoman/embd/host/all"
)
var version = "0.1.0"
var commands []cli.Command
func registerCommand(cmd cli.Command) {
commands = append(commands, cmd)
}
func main() {
app := cli.NewApp()
app.Name = "embd"
app.Usage = "embedded utility belt"
app.Version = version
app.Commands = commands
app.Run(os.Args)
}