Welcome to IMS Cloud CLI
Welcome to the cloudcli - a terminal-based CLI interface for server and infrastructure management using supported APIs.
Download
Download the latest binary for your OS/architecture:
Installation
- Extract the downloaded archive.
- Place the binary in your PATH.
- Run
cloudcli init
to perform an interactive initialization.
Usage
To see the CLI help messages, run:
cloudcli --help
Overview
The cloudcli tool enables server management, allowing you to create, configure, and manage servers.
Configuring cloudcli
You can set credentials and arguments using one of the following methods:
- YAML configuration file: At
HOME/.cloudcli.yaml
(or specified using theCLOUDCLI_CONFIG
environment variable or--config
flag) - Environment variables: Uppercase strings, split with underscore, prefixed with
CLOUDCLI_
- CLI flags: Example:
--api-clientid "" --api-secret ""
Refer to the example.cloudcli.yaml and example-cloudcli.env for more details on using the YAML config file or environment variables.
Important: Please keep your API credentials secure. It is recommended to use a configuration file with appropriate permissions and location.
Options
--api-clientid string API Client ID
--api-secret string API Secret
--config string Config file (default is $HOME/.cloudcli.yaml)
--debug Enable debug output to stderr
--dryrun Enable dry run mode, does not perform actions
--format string Output format, default is a human-readable summary
-h, --help Help for cloudcli
--no-config Disable loading from config file