9 releases

0.1.0 Apr 29, 2024
0.0.8 Apr 22, 2024
0.0.6 Oct 18, 2023
0.0.3 Apr 4, 2023
0.0.1 May 20, 2022

#1039 in Science

Download history 3/week @ 2024-02-23 1/week @ 2024-03-01 2/week @ 2024-03-15 14/week @ 2024-03-22 3/week @ 2024-03-29 69/week @ 2024-04-05 43/week @ 2024-04-12 145/week @ 2024-04-19 216/week @ 2024-04-26 14/week @ 2024-05-03

375 downloads per month

MIT/Apache

275KB
427 lines

stac-cli

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

Command Line Interface (CLI) for STAC built with stac-rs.

stac-cli gif

Installation

Install rust, e.g. with rustup. Then:

cargo install stac-cli

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 collections
  • stac search: search STAC APIs
  • stac serve: serve a STAC API
  • stac sort: sort the fields of STAC items, catalogs, and collections
  • stac 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.

Dependencies

~26–41MB
~710K SLoC