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
516f8231ab
Update the edit_cmd with respect to changes in repo
2013-07-05 17:36:11 +02:00
Fabien Benureau
f62b31542d
cosmetics in edit_cmd
2013-07-04 21:17:19 +01: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
Jonathan Grizou
dce81717cc
edit_cmd fixed.
2013-07-03 21:12:48 +02:00
Fabien Benureau
e4f7017fdb
commands updated to new config, new repo
2013-07-02 14:04:05 +01:00
Olivier Mangin
18ed2a7629
Simplifies paper retrieval from repo.
...
- Removes old paper_from_ref from repo.
- Changes papers_from_citekey to get_paper.
- Switches texnote plugin to new ref argument helpers.
2013-06-19 16:43:18 +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
Olivier Mangin
245ab0ea4d
Integrates devadd as add.
2013-06-10 15:04:04 +02:00
Jonathan Grizou
ff4b40e770
Fixed error in import, wrong relative path
2013-06-08 14:32:37 +02:00
jgrizou
d27e5457ef
Adds plugin capability and call MAIN_SECTION to get configs.
2013-06-07 20:51:12 +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
411647a1b3
FIX bug in edit command when citekey is edited.
2013-06-05 16:39:33 +02:00
Olivier Mangin
7c3ce78f70
Basic tag handling.
2013-06-05 14:52:50 +02:00
Olivier Mangin
0d413697e7
FIX minor bug in document path.
2013-03-14 15:07:50 +01:00
Olivier Mangin
5d312e020d
Improves edition, FIX bugs.
...
- handle citekey modifications in edition,
- fixes bug in update and remove functions.
2013-03-12 17:01:13 +01:00
Olivier Mangin
42569f7f23
Adds basic UI functionalities.
2013-02-13 11:42:43 +01:00
Olivier Mangin
748717ff97
Adds edit command.
2013-01-04 15:27:29 +01:00