f7d57e4e49
* updated readme * added basic cmd. * added seperate folders for cmd packages. * Fix netmodes in test + reverse bigint bytes * glide get deps
21 lines
316 B
Go
21 lines
316 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/CityOfZion/neo-go/cli/server"
|
|
"github.com/CityOfZion/neo-go/cli/smartcontract"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func main() {
|
|
ctl := cli.NewApp()
|
|
ctl.Name = "neo-go"
|
|
|
|
ctl.Commands = []cli.Command{
|
|
server.NewCommand(),
|
|
smartcontract.NewCommand(),
|
|
}
|
|
|
|
ctl.Run(os.Args)
|
|
}
|