stac-cli
Command Line Interface (CLI) for STAC built with stac-rs.
Installation
Install rust, e.g. with rustup. Then:
Homebrew
If you use homebrew, you can use gadomski's tap to install:
brew install gadomski/gadomski/stac
Usage
stac-cli provides the following subcommands:
stac item
: create STAC items and combine them into item collectionsstac search
: search STAC APIsstac serve
: serve a STAC APIstac sort
: sort the fields of STAC items, catalogs, and collectionsstac validate
: validate STAC items, catalogs, and collections using json-schema
Use the --help
flag to see all available options for the CLI and the subcommands:
Features
By default, the CLI builds w/ GDAL support, and will error if GDAL is not installed on your system. If you don't want to use GDAL, you can disable the default features:
cargo install stac-cli --no-default-features
Other info
This crate is part of the stac-rs monorepo, see its README for contributing and license information.