Jonathan Grizou
0d0cf95269
Adapt function in helpers.py to changes in ui.
12 years ago
Jonathan Grizou
da6d2d21d5
ui is no more passed in the command args.
...
Corresponding changes have been applied in commands files.
12 years ago
jgrizou
ac8ab54aae
Changed the event, deleted the ui and add the Rename event.
12 years ago
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.
12 years ago
Fabien Benureau
e4f7017fdb
commands updated to new config, new repo
12 years ago
Fabien Benureau
6d8b0aba21
added force option to remove command
12 years ago
Olivier Mangin
6d303b2c4c
Simplifies event mechanism.
...
- moves RemoveEvent to events
- makes listen a classmethod of the event
12 years ago
Jonathan Grizou
ed44a2c262
Event mechanism working perfectly and very simple and clean
12 years ago
Jonathan Grizou
a880f5b677
bulshit
12 years ago
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.
12 years ago
Fabien Benureau
7ff15be075
added john in the author list of setup.py
12 years ago
Fabien Benureau
c8501aa211
updating the code to new color module
12 years ago
Olivier Mangin
04eeedf8a4
Switch to config based papers directory.
...
TODO add papers dir to config on papers init command.
12 years ago
Olivier Mangin
a45051815d
Adds remove command.
12 years ago