Weboob 0.h released

This commit is contained in:
Florent 2014-01-08 23:39:45 +01:00
commit 0414bed4de
42 changed files with 3146 additions and 195 deletions

View file

@ -1,5 +1,5 @@
.\" -*- coding: utf-8 -*-
.TH TRAVELOOB 1 "03 August 2013" "traveloob 0\&.g"
.TH TRAVELOOB 1 "08 January 2014" "traveloob 0\&.h"
.SH NAME
traveloob \- search for train stations and departures
.SH SYNOPSIS
@ -17,10 +17,14 @@ Console application allowing to search for train stations and get departure time
.SS Supported websites:
* canaltp (French trains)
.br
* jvmalin (Multimodal public transportation for whole Région Centre, France)
.br
* transilien (Public transportation in the Paris area)
.br
* voyagessncf (Voyages SNCF)
.SH TRAVELOOB COMMANDS
.TP
\fBdepartures\fR \fISTATION\fR [\fIARRIVAL\fR]
\fBdepartures\fR \fISTATION\fR [\fIARRIVAL\fR [\fIDATE\fR]]]
.br
List all departures for a given station.
.br
@ -95,7 +99,7 @@ Follow a path.
.TP
\fBcondition\fR [\fIEXPRESSION\fR | off]
.br
If an argument is given, set the condition expression used to filter the results.
If an argument is given, set the condition expression used to filter the results. See CONDITION section for more details and the expression.
.br
If the "off" value is given, conditional filtering is disabled.
.br
@ -161,11 +165,17 @@ Availables: debug, info, warning, error.
.br
* default is an alias for warning
.TP
\fBls\fR [\-d] [\fIPATH\fR]
\fBls\fR [\-d] [\-\fIU\fR] [\fIPATH\fR]
.br
List objects in current path.
.br
If an argument is given, list the specified path.
.br
Use \-U option to not sort results.
.br
.br
Default is limited to 40 results.
.TP
\fBquit\fR
.br
@ -226,7 +236,8 @@ save every response
.SH RESULTS OPTIONS
.TP
\fB\-c CONDITION\fR, \fB\-\-condition=CONDITION\fR
filter result items to display given a boolean expression
filter result items to display given a boolean expression. See CONDITION section
for the syntax
.TP
\fB\-n COUNT\fR, \fB\-\-count=COUNT\fR
limit number of results (from each backends)
@ -237,7 +248,8 @@ select result item keys to display (comma separated)
.SH FORMATTING OPTIONS
.TP
\fB\-f FORMATTER\fR, \fB\-\-formatter=FORMATTER\fR
select output formatter (csv, htmltable, json, multiline, simple, table, webkit)
select output formatter (csv, departures, htmltable, json, multiline, simple,
stations, table, webkit)
.TP
\fB\-\-no\-header\fR
do not display header
@ -248,8 +260,53 @@ do not display item keys
\fB\-O OUTFILE\fR, \fB\-\-outfile=OUTFILE\fR
file to export result
.SH CONDITION
The -c and --condition is a flexible way to sort and get only interesting results. It supports conditions on numerical values, dates, and strings. Dates are given in YYYY-MM-DD format.
The syntax of one expression is "\fBfield operator value\fR". The field to test is always the left member of the expression.
.LP
The field is a member of the objects returned by the command. For example, a bank account has "balance", "coming" or "label" fields.
.SS The following operators are supported:
.TP
=
Test if object.field is equal to the value.
.TP
!=
Test if object.field is not equal to the value.
.TP
>
Test if object.field is greater than the value. If object.field is date, return true if value is before that object.field.
.TP
<
Test if object.field is less than the value. If object.field is date, return true if value is after that object.field.
.TP
|
This operator is available only for string fields. It works like the Unix standard \fBgrep\fR command, and returns True if the pattern specified in the value is in object.field.
.SS Expression combination
You can make a expression combinations with the keywords \fB" AND "\fR and \fB" OR "\fR.
.SS Examples:
.nf
.B boobank ls \-\-condition 'label=Livret A'
.fi
Display only the "Livret A" account.
.PP
.nf
.B boobank ls \-\-condition 'balance>10000'
.fi
Display accounts with a lot of money.
.PP
.nf
.B boobank history account@backend \-\-condition 'label|rewe'
.fi
Get transactions containing "rewe".
.PP
.nf
.B boobank history account@backend \-\-condition 'date>2013-12-01 AND date<2013-12-09'
.fi
Get transactions betweens the 2th December and 8th December 2013.
.SH COPYRIGHT
Copyright(C) 2010-2011 Romain Bignon
Copyright(C) 2010-2013 Romain Bignon
.LP
For full COPYRIGHT see COPYING file with weboob package.
.LP