4 Commits

Author SHA1 Message Date
Olivier Mangin
6e68bd5251 Simplifies loading of plugins parsers.
- Plugins now only present a get_commands method taking the parser to
  populate as argument and returning an iterable with which the cmds
  dictionary is updated (i.e. the plugins returns the command callbacks).
- The name attribute in plugins is now a class attribute.
2013-07-12 15:36:17 +02:00
jgrizou
ebff1bb4e4 Updated texnote, not working yet
Add a check_directory in files.py
2013-07-04 12:10:23 +02:00
Jonathan Grizou
f29f1a96b5 Check if plugin as a parser command before adding it into the OrderedList.
Indeed some plugins may not need to define one.
2013-07-04 00:08:00 +02:00
Jonathan Grizou
4a91c4953c Change back plugin.py to plugins.py + adapt PapersPlugin class protoype to command with args 2013-07-03 23:12:32 +02:00