14 Commits

Author SHA1 Message Date
Fabien Benureau
f82b913a80 FIX import_cmd typo 2013-07-04 21:06:45 +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
d02155af4e Fixed other command, only tested for export_cmd 2013-07-03 21:22:23 +02:00
Fabien Benureau
e4f7017fdb commands updated to new config, new repo 2013-07-02 14:04:05 +01: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
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
f8e370f288 Uniformizes add and import commands. Still to be further tested. 2013-06-05 17:57:35 +02:00
Olivier Mangin
7c3ce78f70 Basic tag handling. 2013-06-05 14:52:50 +02:00
Olivier Mangin
2d700073a8 Improves document handling.
- configuration is now referenced in repo object,
- introduces new class PaperInRepo,
- simplifies storage of documents in metadata,
- changes a few names.
2013-02-21 16:48:32 +01:00
Olivier Mangin
42569f7f23 Adds basic UI functionalities. 2013-02-13 11:42:43 +01:00
Olivier Mangin
f734e2f172 Simplified color usage. 2012-12-26 22:21:25 +01:00
Olivier Mangin
3af7590827 Adds basic import command with document file copy.
Still lot to be improve on ui and features.
2012-12-20 17:56:34 +01:00