21 Commits

Author SHA1 Message Date
Fabien Benureau
1ad64d7859 notes cmd 2013-11-11 04:07:42 +01:00
Fabien Benureau
8c54b19207 updated import and added rename command 2013-11-10 19:35:21 +01:00
Fabien Benureau
bc82d0de8c update attach and export cmds 2013-11-10 14:48:12 +01:00
Fabien Benureau
24df1b36ae tag cmd 2013-11-10 12:45:05 +01:00
Fabien Benureau
c6d7300ae3 updated remove cmd 2013-11-10 03:32:19 +01:00
Fabien Benureau
da3e70649b updated open and websearch commands 2013-11-10 03:13:19 +01:00
Fabien Benureau
017a31460d updated list cmd 2013-11-10 02:59:28 +01:00
Fabien Benureau
dfd47688bb add command 2013-11-10 02:04:07 +01:00
Fabien Benureau
6190890646 updated init cmd, configs + bumped to version 4 2013-11-10 00:38:06 +01:00
Olivier Mangin
68e2a23a3c Adds alias plugin. 2013-07-12 17:04:44 +02:00
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
Jonathan Grizou
da6d2d21d5 ui is no more passed in the command args.
Corresponding changes have been applied in commands files.
2013-07-07 00:05:57 +02:00
Jonathan Grizou
4e17a2201b Simplest possible modification of ui. Working.
Will now propagate changes in every files.
2013-07-06 23:48:30 +02:00
Fabien Benureau
9247c0d3f3 update check at startup 2013-07-04 21:31:53 +01:00
Olivier Mangin
53e6aa512e Remove outdated add_library. 2013-07-04 15:04:18 +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
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
Fabien Benureau
f528aa8a67 updated core. almost all tests are passing 2013-07-02 14:05:32 +01:00
Fabien Benureau
b4504278f2 more robust fake_fs testing; added papers add test 2013-06-29 09:30:56 +01:00
Fabien Benureau
13bd18cda9 working fs replacement enabling use case testing.
papers content was mostly moved to papers_cmd.py
You can now use papers_cmd.execute('papers tag Page99'.split()) from the code
2013-06-28 19:30:07 +02:00