Kontena::Cli

Gem Version

This is a command line tool for Kontena.

Installation

Prerequisities: Ruby version 2.2.0 or greater.

Install it yourself as:

$ gem install kontena-cli

To enable tab-completion for bash, add this to your .bashrc scripts (or .zshrc for zsh):

which kontena > /dev/null && . "$( kontena whoami --bash-completion-path )"

Usage

First you need to register as a user:

$ kontena register

Then you can login to master server:

$ kontena login https://<master>:8080

To get list of all commands:

$ kontena help

Contributing

  1. Fork it ( https://github.com/kontena/kontena-cli/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

Kontena is licensed under the Apache License, Version 2.0. See LICENSE for full license text.