ovh-cli

command module
v0.0.0-...-fa31501 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 1 Imported by: 0

README

OVH-CLI

Configuration

You can store configuration into .ovh-cli.toml in paths:

  • /etc/ovh-cli/
  • /usr/local/etc/ovh-cli/
  • ~/ (user home)
  • ./

Configuration sample:

# File ~/.ovh-me-cli.toml

log-level = "info"
# profile = account2  

[default]
endpoint = "ovh-eu"
application-key = "XXXXXXXXXxx"
application-secret = "XXXXXXXXXXXXXXXXXXXXXXXX"
consumer-key = "XXXXXXXXXXXXXXXXXXXXXXXX"

[account2]
endpoint = "ovh-eu"
application-key = "XXXXXXXXXxx"
application-secret = "XXXXXXXXXXXXXXXXXXXXXXXX"
consumer-key = "XXXXXXXXXXXXXXXXXXXXXXXX"

...

Following fields MUST be in each sections:

  • endpoint
  • application-key
  • application-secret
  • consumer-key

It is possible to save which account to select in configuration file with profile.

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