Crates.io | ic-oss-cli |
lib.rs | ic-oss-cli |
version | 1.2.1 |
created_at | 2024-05-23 08:02:38.221387+00 |
updated_at | 2025-08-26 03:49:40.39398+00 |
description | A command-line tool implemented in Rust for the ic-oss cluster. |
homepage | |
repository | https://github.com/ldclabs/ic-oss/tree/main/src/ic_oss_cli |
max_upload_size | |
id | 1249270 |
size | 119,560 |
ic-oss-cli
A command-line tool implemented in Rust for ic-oss, a decentralized Object Storage Service on the Internet Computer.
cargo install ic-oss-cli
# get help info
ic-oss-cli --help
git clone https://github.com/ldclabs/ic-oss.git
cd ic-oss
cargo build -p ic-oss-cli --release
# get help info
target/release/ic-oss-cli --help
# Generate a new identity
ic-oss-cli identity --new --path myid.pem
# Expected output:
# principal: lxph3-nvpsv-yrevd-im4ug-qywcl-5ir34-rpsbs-6olvf-qtugo-iy5ai-jqe
# new identity: myid.pem
# Upload to local canister
ic-oss-cli -i myid.pem put -b mmrxu-fqaaa-aaaap-ahhna-cai --path test.tar.gz
# Upload to mainnet canister
ic-oss-cli -i myid.pem put -b mmrxu-fqaaa-aaaap-ahhna-cai --path test.tar.gz --ic
# Add WASM to cluster
ic-oss-cli -i debug/uploader.pem cluster-add-wasm \
-c x5573-nqaaa-aaaap-ahopq-cai \
--path target/wasm32-unknown-unknown/release/ic_oss_bucket.wasm
For detailed usage instructions:
ic-oss-cli --help
ic-oss-cli identity --help
ic-oss-cli upload --help
Copyright © 2024-2025 LDC Labs.
Licensed under the MIT License. See LICENSE for details.