2017-01-24 / syui

pc

gcli

$ go get -u github.com/tcnksm/gcli
$ go get -u github.com/tcnksm/cli-init
$ go get -u github.com/jteeuwen/go-bindata
$ cd $GOPATH/src/github.com/tcnksm
$ make
$ make install

$ cd $GOPATH/src/github.com/mitchellh/cli
# -F:framework, -c:option, $=name
$ gcli new -F mitchellh_cli -c add -c list -c delete todo
$ cd $GOPATH/src/github.com/$USER/todo
$ go build
$ ./todo