cs

command
v0.9.24 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

README

cs: Command-Line Interface for CloudStack

Build Status GoDoc

Like the Pythonic cs but in Go.

Installation

Grab it from the release section.

or build it yourself, it requires somes dependencies though.

$ go install github.com/exoscale/egoscale/cmd/cs

Configuration

Create a config file cloudstack.ini or $HOME/.cloudstack.ini.

; Exoscale credentials
[cloudstack]
endpoint = https://api.exoscale.ch/compute
key = EXO...
secret = ...

; Pygments theme, see: https://xyproto.github.io/splash/docs/
[exoscale]
; dark
theme = monokai
; light
theme = tango
; no colors (only boldness is allowed)
theme = nocolors
Themes

Thanks to Alec Thomas' chroma, it supports many themes for your output: https://xyproto.github.io/splash/docs/

Documentation

Overview

cs

Inspired by its older brother cs (https://pypi.org/project/cs) a convenient and flexible client for CloudStack tailored for Exoscale infrastructure.

Configuration

The best way is to have a cloudstack.ini file somewhere.

[exoscale]
theme = nocolors

[cloudstack]
endpoint = "https://api.exoscale.ch/compute"
key = "EXO..."
secret = "..."

then it's only a matter of following the help.

Jump to

Keyboard shortcuts

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