Commit graph

17 commits

Author SHA1 Message Date
84571bef0a get_commands() can return a HashMap<str, fn()>, which is command name -> command function 2015-12-02 12:24:05 +01:00
a9a33321f7 Make command submodule public 2015-12-02 12:24:05 +01:00
cbd85b3d8e Module should only provide functionality to get a list of commands it can execute
These commands can then be executed.
2015-12-02 12:24:05 +01:00
86286cce1b Remove livetimes 2015-12-02 12:24:05 +01:00
750f4cd31c Start adding the BM submodule 2015-12-02 12:24:05 +01:00
869cc5e5ab Fix: unused import 2015-11-27 16:59:51 +01:00
56612cf1a0 Fix: unused import 2015-11-27 16:59:44 +01:00
99a2670803 Add module/command trait 2015-11-10 20:43:53 +01:00
ba91e7ee26 The module itself has to be populate the Command instance
This will be done by the module returning a lambda to build the
command instance.
2015-11-10 20:43:35 +01:00
f4dbec72ee Add storage/backend setup 2015-11-10 20:43:30 +01:00
e73701ace4 Remove old todo module code 2015-11-10 20:33:47 +01:00
7f224e8f58 Replace all output with macros from logging library 2015-10-26 20:58:52 +01:00
9fb50dac68 Fix type for ModuleError::mk() 2015-10-25 19:54:54 +01:00
911384331b Add ModuleError 2015-10-25 18:43:47 +01:00
c50d097831 Cleanup module confusion 2015-10-25 18:43:47 +01:00
034d71b21d Rewrite 2015-10-25 18:43:46 +01:00
bff720018c Module trait cleanups 2015-10-25 18:43:46 +01:00