GitHub - Digipolitan/polymorph-cli

PolymorphCLI

Swift Version Swift Package Manager Twitter

Installation

  • From source

First Download the source code & unzip it, after that run the following command inside the root directory

$ swift build -c release -Xswiftc -static-stdlib

This command build the polymorph application in the following directory ./.build/x86_64-apple-macosx10.10/release/PolymorphCLI

After that move this binary inside the /usr/local/bin directory as follow

$ sudo mv ./.build/x86_64-apple-macosx10.10/release/PolymorphCLI /usr/local/bin/polymorph
  • With artifact

Download the artifact associated to the GitHub release and move it to /usr/local/bin/polymorph in your computer

  • With this follow curl command
$ curl https://api.github.com/repos/Digipolitan/polymorph-cli/releases/latest | python -c "import sys, json; print json.load(sys.stdin)['assets'][0]['browser_download_url']" | xargs -I % curl -L % > /usr/local/bin/polymorph && chmod u+x /usr/local/bin/polymorph

usage

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to contact@digipolitan.com.

License

PolymorphCLI is licensed under the BSD 3-Clause license.