| Crates.io | oct-cli |
| lib.rs | oct-cli |
| version | 0.7.0 |
| created_at | 2025-08-22 05:36:01.8548+00 |
| updated_at | 2025-11-29 05:43:59.843484+00 |
| description | opencloudtool (oct) |
| homepage | https://opencloudtool.com |
| repository | https://github.com/opencloudtool/opencloudtool |
| max_upload_size | |
| id | 1805933 |
| size | 108,591 |

A tool to hide the complexity of the cloud.
oct-clicurl -LsSf https://repo.opencloudtool.com/install.sh | sh
or
wget -qO- https://repo.opencloudtool.com/install.sh | sh
pip install opencloudtool
See the Python library README for details: crates/oct-py/README.md
Basic login (docs):
aws configure
Using AWS SSO (docs):
aws configure sso

Each version of OpenCloudTool has a mini-project to prove the design and implementation.

Shows the current state of the graph from crates/oct-cloud/src/infra.
The diagram can be moved to the infra-specific folder later, keeping it here for now to have all the design documents in one place.

pre-commit install
cargo build
cd dir/with/oct.toml
cargo run -p oct-cli deploy
cargo run -p oct-cli destroy
cargo run -p oct-cli --help
cargo run -p oct-cli command --help
For example:
cargo run -p oct-cli deploy --help
[WIP] Main principles:
mocks module...main code...
pub mod mocks {
...mocks...
}
#[cfg(test)]
mod tests {
...tests...
}
mocks module...other imports...
#[cfg(test)]
use module::mocks::MockModule as Module;
#[cfg(not(test))]
use module::Module;
...main code...
When importing modules, the following order should be used:
use std::fs;
use serde::{Deserialize, Serialize};
use crate::aws::types::InstanceType;
Removes unused dependencies
cargo install cargo-machete
cargo machete
Removes unused features
cargo install cargo-features-manager
cargo features prune
Produces HTML file with building time report.
Can be found in target/cargo-timings.html
cargo build -p PACKAGE_NAME --release --timings
This section compares the cost of running a set of services in a cloud with different approaches which do not require the end user to manage underlying infrastructure (serverless).
Note that OpenCloudTool is a free to use open-source tool and there is no charge for using it.
Main components:
Total: $92 per month
Total: $25.5 per month