wget -O amimoto https://github.com/amimoto-ami/amimoto-cli/releases/download/v0.0.1/amimoto-cli_linux_amd64
chmod +x amimoto
sudo mv amimoto /usr/bin/
curl -L -s https://github.com/amimoto-ami/amimoto-cli/raw/master/install.sh | sudo /bin/bash
sudo amimoto cache --purge
sudo amimoto site --add example.com
sudo amimoto site --disable example.com
sudo amimoto site --enable example.com
sudo amimoto site --remove example.com
- The Go Programming Language
Get binary from here.
git clone [email protected]:amimoto-ami/amimoto-cli.git
or
git clone https://github.com/amimoto-ami/amimoto-cli.git
$ go get github.com/cloudbuy/go-pkg-optarg
$ go get github.com/koron/go-dproxy
$ go get github.com/go-sql-driver/mysql
Build single binary for local os.
$ go build amimoto.go
Build for multi os(linux 386, amd64).
$ go get github.com/mitchellh/gox
$ gox -os="linux" -arch="386 amd64" -output "build/amimoto-cli_{{.OS}}_{{.Arch}}"
upload releases to github. (for maintaner information)
$ go get github.com/tcnksm/ghr
$ ghr --replace -u amimoto-ami v0.0.1 build/