This command will download the source code from the https://crates.io package registry and compile ip-api-cli right for your platform, using our lovely Cargo:
bash
$ cargo install ip-api-cli
If you want to become a contributor, then you need to manually clone this repository and compile the whole project using Cargo, for future development.
bash
$ git clone https://github.com/Gymmasssorla/ip-api-cli.git
$ cd ip-api-cli
$ cargo build --release
The easiest way to run ip-api-cli on your system is to download the pre-compiled binaries from the existing releases, which doesn't require any external software (unlike the two previous approaches).
``` ip-api-cli 0.1.0 Temirkhan Myrzamadi gymmasssorla@gmail.com A command-line interface to http://ip-api.com/, written in Rust.
USAGE:
iac [OPTIONS] --timeout
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS: -a, --address
An IP address or a domain name which will be requested to the service. By default, it'll send your local IP [default: ] -c, --callback For the explicit items documentation and the number generator, visit
<http://ip-api.com/docs/api:json>. [default: 61439]
-l, --language <LANGUAGE>
A language name to localize such things as city, region name, and
country [default: en] [possible values: en, de, es, pt-BR, fr, ja,
zh-CN, ru]
-t, --timeout <TIME-SPAN>
A timeout of waiting an answer. When a timeout is reached and answer
isn't received, an error will be printed
For more information see https://github.com/Gymmasssorla/ip-api-cli. ```
You are always welcome for any contribution to this project! But before you start, you should read the appropriate document to know about the preferred development process and the basic communication rules.
Temirkhan Myrzamadi <gymmasssorla@gmail.com> (the author)