This tool is a simple CLI to display informations about skiing resorts.
You can download the binaries :
- Architecture i386 [ linux / darwin / freebsd / netbsd / openbsd / windows ]
- Architecture amd64 [ linux / darwin / freebsd / netbsd / openbsd / windows ]
- Architecture arm [ linux / freebsd / netbsd ]
-
CLI help:
$ chione help NAME: chione - CLI for skiing resorts informations USAGE: chione [global options] command [command options] [arguments...] VERSION: 0.1.0 COMMANDS: version resorts resort help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --debug Enable debug mode --help, -h show help --version, -v print the version
-
Show skiing resorts for a country :
$ ./chione --debug resorts list --country france Resorts: - le-markstein [vosges] - bussang---larcenaire [vosges] - saint-leger-les-melezes [alpes-du-sud] - turini-camp-d'argent- [alpes-du-sud] [...]
-
Display informations about a ski resort:
$ /chione --debug resort describe --resort val-thorens --region alpes-du-nord +----------------------------+--------------------------------+ | Status | Ouverte | +----------------------------+--------------------------------+ | Enneigement sur les pistes | - bas: 55cm | | | - milieu: | | | - haut: 130cm | +----------------------------+--------------------------------+ | Enneigement hors-pistes | - bas: | | | - milieu: | | | - haut: | +----------------------------+--------------------------------+ | Chute de neige | - mardi: 0cm | | | - mercredi: 0cm | | | - aujourd'hui: 10cm | | | - vendredi: 0cm | | | - samedi: 0cm | | | - dimanche: 2cm | | | - lundi: 0cm | | | - mardi: 0cm | | | - mercredi: 0cm | | | - jeudi: 0cm | +----------------------------+--------------------------------+ | Domaine skiable | - Vertes: 10/11 | | | - Bleues: 29/29 | | | - Rouges: 23/30 | | | - Noires: 5/9 | +----------------------------+--------------------------------+
-
Initialize environment
$ make init
-
Build tool :
$ make build
-
Launch unit tests :
$ make test
See CONTRIBUTING.
See LICENSE for the complete license.
A changelog is available
Nicolas Lamirault nicolas.lamirault@gmail.com