1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! 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:
//!
//! ```text
//! cargo install geodb-cli
//! ```
//!
//! Basic usage:
//!
//! ```text
//! 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.
//!
//! Links
//! -----
//! - Repository: <https://github.com/holg/geodb-rs>
//! - Core crate: <https://docs.rs/geodb-core>
//!
// This library target intentionally exposes no API; the binary is the primary
// deliverable. The presence of this file enables a rendered page on docs.rs.