Jonathan Grizou
0d0cf95269
Adapt function in helpers.py to changes in ui.
2013-07-07 00:20:43 +02:00
Jonathan Grizou
da6d2d21d5
ui is no more passed in the command args.
...
Corresponding changes have been applied in commands files.
2013-07-07 00:05:57 +02:00
jgrizou
ac8ab54aae
Changed the event, deleted the ui and add the Rename event.
2013-07-05 17:36:57 +02:00
Jonathan Grizou
31cf4de9d3
Change call for command from "cmds[cmd].command(**vars(args))" to "cmds[cmd].command(args)".
...
Applied the corresponding changes to command files.
AMakes it possible to declare and use additional parser inside subparsers.
May be useful for tag command. Will be implemented in texnote plugin.
2013-07-03 23:01:47 +02:00
Fabien Benureau
e4f7017fdb
commands updated to new config, new repo
2013-07-02 14:04:05 +01:00
Fabien Benureau
6d8b0aba21
added force option to remove command
2013-06-30 18:14:56 +01:00
Olivier Mangin
6d303b2c4c
Simplifies event mechanism.
...
- moves RemoveEvent to events
- makes listen a classmethod of the event
2013-06-27 18:35:57 +02:00
Jonathan Grizou
ed44a2c262
Event mechanism working perfectly and very simple and clean
2013-06-26 12:19:24 +02:00
Jonathan Grizou
a880f5b677
bulshit
2013-06-24 22:39:37 +02:00
Olivier Mangin
105ae292b9
Support for many references and refactor.
...
- Moves shared command code to helpers module.
- Implements reference(s) argument for commands:
+ a helper to add single or multi-reference argument to parser,
+ two functions to transform this argument into a list of citekeys.
2013-06-19 16:35:41 +02:00
Fabien Benureau
7ff15be075
added john in the author list of setup.py
2013-06-13 16:41:38 +02:00
Fabien Benureau
c8501aa211
updating the code to new color module
2013-06-13 12:30:45 +02:00
Olivier Mangin
04eeedf8a4
Switch to config based papers directory.
...
TODO add papers dir to config on papers init command.
2013-06-05 19:52:11 +02:00
Olivier Mangin
a45051815d
Adds remove command.
2013-06-05 16:50:10 +02:00