Fabien Benureau
e43fbe4744
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
12 years ago
Fabien Benureau
cc3928ef4b
fake editor_input
12 years ago
Olivier Mangin
e4ad9745c1
Fix bug and adds doc.
...
- Fix wrong call to editor_input in add_cmd.
- Adds docstring to PapersInRepo class.
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
0fe6b50dc2
clarified user prompt in add_cmd
12 years ago
Fabien Benureau
eb10c0dff1
FIX s/label/tags/ in add_cmd
12 years ago
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']
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
Olivier Mangin
245ab0ea4d
Integrates devadd as add.
12 years ago
Jonathan Grizou
ff4b40e770
Fixed error in import, wrong relative path
12 years ago
jgrizou
d27e5457ef
Adds plugin capability and call MAIN_SECTION to get configs.
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
f8e370f288
Uniformizes add and import commands. Still to be further tested.
12 years ago
Olivier Mangin
42569f7f23
Adds basic UI functionalities.
12 years ago
Olivier Mangin
b46f8c543d
Improves repo dir specification to avoid issues.
12 years ago
Olivier Mangin
0d53619e1f
Updates commands. Many bug fix.
12 years ago
Olivier Mangin
655fb25bfa
Adds command to add multiple reference at once.
...
Also fixes a few bugs.
12 years ago
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.
13 years ago
Fabien Benureau
b413be687d
imcomplete implementation of Repository, Paper classes
13 years ago
Fabien Benureau
15782375a5
citekey generation and support
13 years ago
Fabien Benureau
3c11994b6f
added test. fixed few syntaxic bugs.
13 years ago
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
13 years ago