stac-cli

GitHub Workflow Status docs.rs Crates.io Crates.io Contributor Covenant

Command line interface to stac-rs.

Installation

Install rust. rustup works well. Once you do:

sh cargo install --git https://github.com/gadomski/stac-rs

Usage

Use the cli --help flag to see all available options:

shell stac --help

Download

Download all the assets of a STAC item. The STAC item will be written out, with its assets updated to point to the locally downloaded assets.

shell stac download https://raw.githubusercontent.com/radiantearth/stac-spec/master/examples/simple-item.json .