Fabien Benureau
8c54b19207
updated import and added rename command
11 years ago
Olivier Mangin
08811b842f
Adds citekey argument to selectively import entries.
...
Also removes unused fatal argument from many_from_path and moves
printing of warning to the command.
12 years ago
Jonathan Grizou
0d0cf95269
Adapt function in helpers.py to changes in ui.
12 years ago
Jonathan Grizou
da6d2d21d5
ui is no more passed in the command args.
...
Corresponding changes have been applied in commands files.
12 years ago
Fabien Benureau
f82b913a80
FIX import_cmd typo
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
Jonathan Grizou
d02155af4e
Fixed other command, only tested for export_cmd
12 years ago
Fabien Benureau
e4f7017fdb
commands updated to new config, new repo
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
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
7c3ce78f70
Basic tag handling.
12 years ago
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.
12 years ago
Olivier Mangin
42569f7f23
Adds basic UI functionalities.
12 years ago
Olivier Mangin
f734e2f172
Simplified color usage.
12 years ago
Olivier Mangin
3af7590827
Adds basic import command with document file copy.
...
Still lot to be improve on ui and features.
12 years ago