18 Commits

Author SHA1 Message Date
Fabien Benureau
0fe6b50dc2 clarified user prompt in add_cmd 2013-06-27 14:28:18 +02:00
Fabien Benureau
eb10c0dff1 FIX s/label/tags/ in add_cmd 2013-06-27 12:00:09 +02:00
Fabien Benureau
d30d5f32c4 "label" renamed as "tag" in the metadata file (and everywhere else).
Use the update command to update your metadata files.
Tags is now a property of the Paper class, so one can use :
print(p.tags)
p.tags = ['math', 'romance']
2013-06-25 23:42:06 +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
f8e370f288 Uniformizes add and import commands. Still to be further tested. 2013-06-05 17:57:35 +02:00
Olivier Mangin
42569f7f23 Adds basic UI functionalities. 2013-02-13 11:42:43 +01:00
Olivier Mangin
b46f8c543d Improves repo dir specification to avoid issues. 2012-12-19 16:20:35 +01:00
Olivier Mangin
0d53619e1f Updates commands. Many bug fix. 2012-12-18 16:48:40 +01:00
Olivier Mangin
655fb25bfa Adds command to add multiple reference at once.
Also fixes a few bugs.
2012-11-02 19:48:13 +01:00
Fabien Benureau
cdd2796638 finished implementing the classes
a lowercase bug remain that force to move to another format than configparser. Which is just as well.
2012-10-11 09:26:46 +02:00
Fabien Benureau
b413be687d imcomplete implementation of Repository, Paper classes 2012-10-10 16:33:17 +02:00
Fabien Benureau
15782375a5 citekey generation and support 2012-10-07 22:13:41 +02:00
Fabien Benureau
3c11994b6f added test. fixed few syntaxic bugs. 2012-10-07 20:19:53 +02:00
Fabien Benureau
acab1b8044 major restructuring of code. many oliver remarks implemented. no new features.
divided code into multiple files
paperpile style argparse
setup.py with script option
2012-10-07 19:27:20 +02:00