Commands Overview
CloudOps Tools provides several commands for AWS resource inventory and management.
Main Command
The root command cloudops-tools runs a basic inventory scan with configurable options.
cloudops-tools [options]Subcommands
| Command | Description |
|---|---|
init | Generate cross-region inventory scan with advanced options |
describe | Deeply describe a specific AWS resource |
setup-totp | Configure TOTP secret for MFA authentication |
config | Manage persistent configuration |
Global Options
These options are available on the main command:
| Option | Alias | Description | Default |
|---|---|---|---|
--account | -a | AWS account or profile name | Auto-detected |
--region | -r | AWS region(s), comma-separated | us-east-1 |
--export-format | -f | Export format (csv, xlsx, json, both, all) | csv |
--services | -s | Comma-separated list of services to scan | All services |
--describe | Describe all resources of a type | - | |
--skip-global | Skip global services (S3, IAM, CloudFront, etc.) | false | |
--only-global | Scan only global services | false | |
--debug | Show raw error output with stack traces | false |
Quick Examples
# Basic inventory for us-east-1
cloudops-tools
# Inventory for multiple regions
cloudops-tools --region us-east-1,eu-west-1
# Scan specific services only
cloudops-tools --services EC2,RDS,S3 --region us-east-1
# Export to Excel format
cloudops-tools --export-format xlsx
# Describe all RDS instances in a region
cloudops-tools --describe rds --region eu-south-2