Discover Packages
github.com/nlamirault/chione
command
module
Version:
v0.0.0-...-624f43b
Opens a new window with list of versions in this module.
Published: Jan 20, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Chione
Master :
Develop :
This tool is a simple CLI to display informations about skiing resorts.
Installation
You can download the binaries :
Usage
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 |
+----------------------------+--------------------------------+
Development
Initialize environment
$ make init
Build tool :
$ make build
Launch unit tests :
$ make test
Contributing
See CONTRIBUTING .
License
See LICENSE for the complete license.
Changelog
A changelog is available
Nicolas Lamirault nicolas.lamirault@gmail.com
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.