Skip to main content

Crate geodb_cli

Crate geodb_cli 

Source
Expand description

§geodb-cli

Command-line interface for the geodb-core geographic database.

This crate primarily provides a binary (geodb-cli). We include a small library target so that docs.rs renders a documentation page and shows this overview. See the README for full usage examples.

§Quick start

Install the CLI from crates.io:

cargo install geodb-cli

Basic usage:

geodb-cli --help
geodb-cli stats
geodb-cli find-country US
geodb-cli list-cities --country US --state CA

For programmatic access to the data structures and APIs, use the [geodb-core] crate directly.