The command line upload tool of sapicd/sapic, written in go language, supports Windows/macOS/Linux.
English | 中文
docker pull staugur/sapicligit clone https://github.com/sapicd/cli sapicli && cd sapicli
docker build -t staugur/sapicli . # or: make dockerdocker run --rm -ti staugur/sapicli
docker run --rm -ti staugur/sapicli -v
docker run --rm -ti staugur/sapicli -hIn 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 -vAs 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 sapiclibrew update
brew upgrade sapiclibrew uninstall sapicli
brew untap staugur/tapDoc to sapic/cli