This tool is a simple CLI to display informations about Pelota competitions for the terminal. Supported leagues are :
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:
$ paleta help NAME: paleta - CLI for Pelota news USAGE: paleta [global options] command [command options] [arguments...] VERSION: 0.5.0 COMMANDS: version leagues league 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 supported leagues :
$ paleta leagues list Leagues: - ctpb - lbpb - lcapb - lidfpb
-
Display informations about a leage:
$ paleta league describe --league lcapb +--------------+-----------------------------------------+ | Name | LIGUE DE PELOTE BASQUE DE CÔTE D’ARGENT | +--------------+-----------------------------------------+ | Address | Maison Départementale des Sports | | | 153, rue David Johnston | | | 33000 Bordeaux | +--------------+-----------------------------------------+ | Website | http://www.lcapb.net/ | +--------------+-----------------------------------------+ | Email | contact@lcapb.net | +--------------+-----------------------------------------+ | Phone number | 05 56 00 99 15 | +--------------+-----------------------------------------+
-
Show available challenge:
$ paleta league challenges --league lcapb Challenges: - [20180501] Championnat 2017-2018 CCAPB - [20170501] Championnat 2016-2017 CCAPB - [20160501] Championnat Hiver 2015-2016 LCAPB - [20150501] Championnat Hiver 2014-2015 LCAPB - [20130501] Championnat Hiver 2013-2014 LCAPB - [20190501] Championnat 2018-2019 CCAPB
-
Show available levels:
$ paleta league levels --league lcapb Levels: - [51] Senoir Individuel - [1] 1ère Série - [2] 2ème Série - [3] 3ème Série - [4] Seniors - [6] Cadets - [9] Poussins - [7] Minimes - [8] Benjamins
-
Show available disciplines:
$ paleta league disciplines --league lcapb Disciplines: - [2] Trinquet / P.G. Pleine Masculin - [4] Trinquet / P.G. Pleine Feminine - [26] Mur à Gauche / P.G. Pleine Masculin - [126] Mur A gauche / P.G. Pleine Masculin Barrages - [501] Place Libre / P.G Pleine Feminine - [3] Trinquet / P.G. Creuse Masculin - [5] Trinquet / P.G. Creuse Feminine - [13] Place Libre / Grand Chistera - [16] Place Libre / P.G. Pleine Masculin - [27] Mur à Gauche / P.G. Pleine Feminine - [28] Mur à Gauche / P.G. Creuse Masculin Individuel
-
Display result for a competiion:
$ paleta league results --league lcapb --level 2 --discipline 2 --challenge 20190501 +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | DATE | CLUB 1 | CLUB 2 | SCORE | COMMENTAIRE | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | Poules 1 | Club 1 | Club 2 | Score | Commentaire | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 02/09/2018 | C.A. BEGLAIS | S.A. GAZINET CESTAS | 40/24 | | | | (073842) GARCIA Antoine (S) | (080163) LESTE Maxime | | | | | (064403) CHARPENTIER Mathieu | (030552) MICHALUC Christophe | | | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 09/09/2018 | S.A. GAZINET CESTAS | PILOTARI IRRATZABAL CLUB | 40/15 | | | | (080163) LESTE Maxime | (093680) MENVIELLE Bertrand | | | | | (030552) MICHALUC Christophe | (093679) ROBIN-BROSSE David | | | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ ... +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 1/2 finale | Club 1 | Club 2 | Score | Commentaire | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 28/10/2018 | BORDEAUX ETUDIANTS CLUB | PILOTARI CLUB VILLENAVAIS | 40/39 | | | | (059429) GILLERON Pascal | (064884) NICOL Thomas | | | | | (039813) LAPEYRE Clément | (091825) THOBERT Jerome | | | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 28/10/2018 | C.A. BEGLAIS | BORDEAUX ETUDIANTS CLUB | 27/40 | | | | (073842) GARCIA Antoine (S) | (088281) BOISSIERE Guillaume | | | | | (064403) CHARPENTIER Mathieu | (097865) OYHENART David | | | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | Finale | Club 1 | Club 2 | Score | Commentaire | +---------------+--------------------------------------+--------------------------------------+-------+-------------+ | 04/11/2018 | BORDEAUX ETUDIANTS CLUB | BORDEAUX ETUDIANTS CLUB | 37/40 | | | | (059429) GILLERON Pascal | (088281) BOISSIERE Guillaume | | | | | (039813) LAPEYRE Clément | (097865) OYHENART David | | | +---------------+--------------------------------------+--------------------------------------+-------+-------------+
-
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