Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 1.95 KB

File metadata and controls

78 lines (57 loc) · 1.95 KB

Project Stage Code style: black

Terminal Icon

Outscale CLI (osc-cli)

Warning

osc-cli is deprecated and is no longer actively maintained.

We recommend using octl instead. octl is our latest CLI project and is actively maintained.

Quick start

macOS (Homebrew)

brew install osc-cli

Linux (AppImage)

# get the latest release from GitHub
chmod a+x osc-cli-x86_64.AppImage
./osc-cli-x86_64.AppImage
# (optional) sudo mv osc-cli-x86_64.AppImage /usr/local/bin/osc-cli

Python package

pip3 install osc-sdk

Windows See docs/install/windows.md.

Minimal configuration

Create ~/.osc/config.json:

{
  "default": {
    "access_key": "MYACCESSKEY",
    "secret_key": "MYSECRETKEY",
    "region": "eu-west-2"
  }
}

Usage

osc-cli SERVICE CALL [PROFILE] [CALL-PARAMETERS]
# example:
osc-cli api ReadVms

Documentation

Contributing

See CONTRIBUTING.md.

License

BSD-3-Clause. See LICENSE.