7 Commits

Author SHA1 Message Date
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
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
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
3e6a1403b9 Adds basic export capabilities. 2013-03-14 15:49:04 +01:00