Crates.io | stac-cli |
lib.rs | stac-cli |
version | 0.1.0 |
source | src |
created_at | 2022-05-20 20:33:45.210322 |
updated_at | 2024-04-29 20:53:40.782068 |
description | Command line interface for stac-rs |
homepage | |
repository | https://github.com/gadomski/stac-incubator-rs |
max_upload_size | |
id | 590455 |
size | 399,644 |
Command Line Interface (CLI) for STAC built with stac-rs.
Install rust, e.g. with rustup. Then:
cargo install stac-cli
If you use homebrew, you can use gadomski's tap to install:
brew install gadomski/gadomski/stac
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-schemaUse the --help
flag to see all available options for the CLI and the subcommands:
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
This crate is part of the stac-rs monorepo, see its README for contributing and license information.