Giter Site home page Giter Site logo

chione's Introduction

Chione

License Apache 2 GitHub version

  • Master : Circle CI
  • Develop : Circle CI

This tool is a simple CLI to display informations about skiing resorts.

Screenshot

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

Contact

Nicolas Lamirault [email protected]

chione's People

Contributors

nlamirault avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.