toni

command module
v0.0.0-...-095c3f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2016 License: MIT Imports: 19 Imported by: 0

README

Build Status

toni

toni is the CLI for Applikatoni.

Installation

Download a packaged version

See the Releases section and download a packaged version of Applikatoni.

Installing using go get
    go get github.com/applikatoni/toni

Usage

toni [-vh] [-c=<commit SHA>] [-b=<commit branch>] -t <target> -m <comment>
Arguments
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

Configuration

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

Contributing

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!

License

MIT License. See LICENSE.

Authors

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL