toni is the CLI for Applikatoni.
Download a packaged version
See the Releases section and download a packaged version of Applikatoni.
go get github.com/applikatoni/toni
toni [-vh] [-c=<commit SHA>] [-b=<commit branch>] -t <target> -m <comment>
REQUIRED: -t Target of the deployment -m The deployment comment OPTIONAL: -c The deployment commit SHA (if unspecified toni uses the current git HEAD) -b The branch of the commit SHA (if unspecified toni uses the current git HEAD) -h Print the help and usage information -v Print the version of the toni executable
When starting up, toni tries to read the ".toni.yml" configuration file in the current working directoy. The configuration MUST specify the HOST, APPLICATION, API TOKEN and the STAGES of deployments.
An example ".toni.yml" looks like this:
host: http://toni.shippingcompany.com application: shippingcompany-main-application api_token: 4fdd575f-FOOO-BAAR-af1e-ce3e9f75367d stages: production: - CHECK_CONNECTION - PRE_DEPLOYMENT - CODE_DEPLOYMENT - POST_DEPLOYMENT staging: - CHECK_CONNECTION - PRE_DEPLOYMENT - CODE_DEPLOYMENT - POST_DEPLOYMENT
All contributions are welcome! Create a fork, a new branch and send a pull request!
Is the documentation lacking something? Did you find a bug? Do you have a question about how Applikatoni works? Open a issue!
MIT License. See LICENSE.