cli

command module
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Actions Status

Exoscale CLI

Manage your Exoscale infrastructure easily from the command-line with exo.

Installation

You can find pre-built releases of the CLI here.

From sources

To build exo from sources, a Go compiler >= 1.16 is required.

$ git clone https://github.com/exoscale/cli
$ cd cli
$ git submodule update --init --recursive go.mk
$ make build

Upon successful compilation, the resulting exo binary is stored in the bin/ directory.

Configuration

Running the exo config command will guide you through the initial configuration.

You can create and find API credentials in the IAM section of the Exoscale Console.

The configuration file and all assets created during exo operations will be saved in the following location:

OS Location
GNU/Linux, *BSD $HOME/.config/exoscale/
macOS $HOME/Library/Application Support/exoscale/
Windows %USERPROFILE%\.exoscale\

The configuration parameters are then saved in a exoscale.toml file with the following minimum format:

defaultaccount = "account_name"

[[accounts]]
  account = "account_name"
  endpoint = "https://api.exoscale.com/v1"
  key = "API_KEY"
  name = "account_name"
  secret = "API_SECRET"

The current configuration and configuration file path can be shown with exo config show.

Usage

The exo CLI contains documentation for all of its commands, you can explore them by running exo help. Additional information and tutorials are available on Exoscale's community website.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
integ Module

Jump to

Keyboard shortcuts

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