clc-cli

command module
v0.0.0-...-8413caf Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

README

clc cli

Installation

$ go get github.com/mikebeyer/clc-cli
$ make deps
$ make build

Configuration

In order to use the clc cli tool you need a configuration.

It does this by first looking into the environment, and then falling back to a well known (./config.json) config location.

The cli tool can create a template for a configuration file with ./clc --gen-config

Env Vars

CLC_USERNAME
CLC_PASSWORD
CLC_ALIAS

Config File

{
  "user": {
    "username": "USERNAME",
    "password": "PASSWORD"
  },
  "alias": "DEFAULT-ALIAS"
}

Usage

NAME:
   clc - clc v2 api cli

USAGE:
   clc [global options] command [command options] [arguments...]

VERSION:
   0.0.1

AUTHOR(S):
   Mike Beyer <michael.beyer@ctl.io>

COMMANDS:
   server, s			server api
   status				status api
   anti-alias, aa		anti-alias api
   alert, a				alert api
   load-balancer, lb	load balancer api
   group, g				group api
   help, h				Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --gen-config			create template configuration file
   --help, -h			show help
   --version, -v		print the version

Example

./clc server create -n 'server' -c 1 -m 1 -g GROUP-ID -t standard --ubuntu-14
./clc server ssh SERVERNAME

License

This project is licensed under the Apache License v2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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