The command line upload tool of sapicd/sapic, written in go language, supports Windows/macOS/Linux.
English | 中文
docker pull staugur/sapicli
git clone https://github.com/sapicd/cli sapicli && cd sapicli
docker build -t staugur/sapicli . # or: make docker
docker run --rm -ti staugur/sapicli
docker run --rm -ti staugur/sapicli -v
docker run --rm -ti staugur/sapicli -h
In github release page, select the attachment under the distribution: sapicli.{VERSION}-windows-amd64.zip, get sapicli.exe after decompression.
As above, download the sapicli.{VERSION}-linux-amd64.tar.gz format package and unzip it to get sapicli.
Or, you can also download from the command line:
version=0.5.4
wget -c https://github.com/sapicd/cli/releases/download/v${version}/sapicli.${version}-linux-amd64.tar.gz
tar zxf sapicli.${version}-linux-amd64.tar.gz
mv sapicli ~/bin/
sapicli -v
As above, download the sapicli.{VERSION}-darwin-amd64.tar.gz format package and unzip it to get sapicli, or with command line(Refer to Linux).
In addition to these two methods, you can use homebrew to install directly.
I've made Tap, On macOS or homebrew supported operating systems, you can install the following:
brew tap staugur/tap
brew install sapicli
brew update
brew upgrade sapicli
brew uninstall sapicli
brew untap staugur/tap
Doc to sapic/cli