Commit graph

33 commits

Author SHA1 Message Date
Romain Bignon
89e2c29447 fix falling back to default formatter 2010-10-16 22:24:59 +02:00
Romain Bignon
86f2ede418 fix empty commands 2010-10-15 18:29:32 +02:00
Romain Bignon
24e3671f27 video_list formatter display count in interactive mode, the full ID otherwise 2010-10-15 10:12:44 +02:00
Romain Bignon
61deb66ac8 set default formatter 2010-10-15 09:23:25 +02:00
Romain Bignon
a86a6b2669 rewrite formatters management in repl
Commands can use specific default formatters, user can redefine formatters
per commands or globally.
2010-10-14 20:09:32 +02:00
Romain Bignon
fa24395efb unused import 2010-10-13 09:34:10 +02:00
Christophe Benz
bd447b3cf2 simplify code 2010-10-12 19:43:48 +02:00
Romain Bignon
0ebf8d579d add class attribute to disable REPL behaviour 2010-10-08 10:52:35 +02:00
Romain Bignon
a36aa0d56e handle errors during loading and ask users to reconfigure backend 2010-10-01 20:17:23 +02:00
Romain Bignon
217b029a6f pyflakes fixes 2010-09-30 12:40:09 +02:00
Romain Bignon
a8b6594af0 add help for logging command, and set it as a weboob command 2010-09-30 12:28:46 +02:00
Romain Bignon
37266a7945 add 'logging' command 2010-09-30 12:23:38 +02:00
Romain Bignon
c76e5f9e6a new command 'backends edit' 2010-09-30 12:07:53 +02:00
Romain Bignon
6dfbda042c correctly handle BrowserUnavailable and BrowserIncorrectPassword exceptions in repl applications (closes #302)
It asks user to reconfigure backend when BrowserIncorrectPassword is
raised.
2010-09-30 11:59:12 +02:00
Christophe Benz
3939cf1039 fix bug when keyup:keydown in history 2010-09-28 01:27:44 +02:00
Christophe Benz
1fd34fe715 avoid python side effect 2010-09-27 14:57:26 +02:00
Romain Bignon
4f73e8535e catch every CallErrors errors in repl applications 2010-09-27 13:17:08 +02:00
Romain Bignon
95c445223c change output of 'backends list' command 2010-09-27 00:18:04 +02:00
Romain Bignon
f4f9ef25f4 fixes when no backends are loaded 2010-09-25 02:16:07 -04:00
Romain Bignon
4d5a5003a7 load backends before calling main() 2010-09-25 01:28:34 -04:00
Romain Bignon
1e6de0f12e add commands 'backends add' and 'backends remove' 2010-09-25 01:17:06 -04:00
Romain Bignon
04037e7893 repl: interactive add of backends when no one is loaded at startup 2010-09-25 00:57:54 -04:00
Romain Bignon
aee0e49cc8 -b is handled by BaseApplication 2010-09-24 21:56:49 -04:00
Romain Bignon
27be2bdb25 use bold in prompt 2010-09-24 15:00:31 -04:00
Romain Bignon
96a9bb4b8f completion of command 'formatter' 2010-09-24 14:19:46 -04:00
Romain Bignon
0eba4302a5 override complete() to change the behaviour of Cmd completion 2010-09-24 13:56:24 -04:00
Romain Bignon
37a53b783a port every console applications to ReplApplication 2010-09-24 12:58:27 -04:00
Christophe Benz
06cbda9d4d implement formatter options 2010-09-24 18:03:50 +02:00
Christophe Benz
4f4897e0f2 add formatter command 2010-09-23 19:48:52 -04:00
Christophe Benz
13a1f2a8a5 enhance select command, add condition command 2010-09-23 13:24:59 -04:00
Romain Bignon
6bbc6f599e fix things related to help output, completion and intro 2010-09-21 19:49:04 -04:00
Christophe Benz
9e2345eeb9 implement select command 2010-09-21 13:10:52 -04:00
Christophe Benz
ab4a427586 new ReplApplication base class 2010-09-21 13:10:48 -04:00