Logo: Relish

  1. Sign in

Project: Overriaktion

CLI

  • @overriak

In order to remotely administer the Overriak service from the command line
as a registered user with an API key
I should be able to access the remote API via the CLI.

Scenarios
Access help
When
I run overriaktion --help
Then
the exit status should be 0
And
the output should contain:
Usage: overriaktion api_key operation [cluster_name] [node_uri]

Client gem for the Overriak service.
List riak clusters
When
I run overriaktion api_key list
Then
the exit status should be 0
And
the output should contain:
Localhost
  - [email protected]:8098
Sample a riak node in a riak cluster
When
I run overriaktion api_key sample Localhost [email protected]:8098
Then
the exit status should be 0
And
the output should contain:
OK

Last published about 5 years ago by cmeiklejohn.