Commit Graph

36 Commits

Author SHA1 Message Date
Matthias Beyer 731d13e0ba Create store path on storage backend creation 2015-12-02 12:24:05 +01:00
Matthias Beyer e598a475e5 Use prettytable to implement TablePrinter 2015-12-02 12:24:05 +01:00
Matthias Beyer 8a2c41ea22 Fix: Build StorageBackend with runtime 2015-12-02 12:24:05 +01:00
Matthias Beyer 7531b5a6d7 Pass module to subcommand.
We need the module in the subcommand for building file paths and so on.

To be able to pass it, we must remove the ::new() function from the
trait, so we can make the parameter a trait object.

This is no object, as the module gets build non-generically from the
main(), so everything is fine with this.
2015-12-02 12:24:05 +01:00
Matthias Beyer 08d6e8da13 We need to unwrap here (and it is save) 2015-12-02 12:24:05 +01:00
Matthias Beyer fda2c4feea Add CommandEnv building in command calling code in main() 2015-12-02 12:24:05 +01:00
Matthias Beyer 18ea01b854 Pass StorageBackend to subcommand function 2015-12-02 12:24:05 +01:00
Matthias Beyer 3f19aba7b2 Add subcommand calling code in main() 2015-12-02 12:24:05 +01:00
Matthias Beyer a24d3175dd We do not have Module::execute() anymore 2015-12-02 12:24:05 +01:00
Matthias Beyer 750f4cd31c Start adding the BM submodule 2015-12-02 12:24:05 +01:00
Matthias Beyer c3397d5238 Use prettytable to implement TablePrinter 2015-12-02 12:20:52 +01:00
Matthias Beyer 918016368e Add file printer helpers 2015-12-02 12:20:23 +01:00
Matthias Beyer beee7b20b4 Add debug output in main 2015-11-27 19:24:58 +01:00
Matthias Beyer c8231e5c31 Fix: variable does not need to be mutable 2015-11-27 16:49:25 +01:00
Matthias Beyer 48fd3e66f5 Add implementation for Storage::createEmpty() 2015-11-23 19:17:46 +01:00
Matthias Beyer 7e86394b3c add dep: glob 2015-11-20 15:33:40 +01:00
Matthias Beyer 9167fde4fb Add dependency: serde 2015-11-09 18:35:07 +01:00
Matthias Beyer b211862602 Add json deserializer 2015-11-09 18:35:02 +01:00
Matthias Beyer 111a990b99 Add debugging output in main.rs 2015-11-07 23:38:49 +01:00
Matthias Beyer bdb0792040 Add extern crate regex 2015-10-28 17:39:53 +01:00
Matthias Beyer b98dea3946 Rename "Config" to "CliConfig" 2015-10-27 00:02:42 +01:00
Matthias Beyer 904d3fa8c0 Pass configuration from cfg file to Runtime as well 2015-10-27 00:01:11 +01:00
Matthias Beyer 497cdde581 Logger should respect configuration 2015-10-26 23:59:24 +01:00
Matthias Beyer 099d63f13a Implement simple configuration module 2015-10-26 23:52:01 +01:00
Matthias Beyer 32e585e7eb Add configuration module 2015-10-26 22:30:15 +01:00
Matthias Beyer 7f224e8f58 Replace all output with macros from logging library 2015-10-26 20:58:52 +01:00
Matthias Beyer c41ec1d85c Add logger with logging library 2015-10-26 20:53:12 +01:00
Matthias Beyer 3556e5adc6 Refactor complete CLI code 2015-10-25 19:52:31 +01:00
Matthias Beyer c50d097831 Cleanup module confusion 2015-10-25 18:43:47 +01:00
Matthias Beyer 1cea0e48e0 cleanup 2015-10-25 18:43:46 +01:00
Matthias Beyer 3df9343412 Revert "Add error module for error handling"
This reverts commit e9b122f612.
2015-10-19 17:31:13 +02:00
Matthias Beyer b3508f5dc3 Add trait Storage 2015-10-18 21:59:23 +02:00
Matthias Beyer e9b122f612 Add error module for error handling 2015-10-18 21:42:44 +02:00
Matthias Beyer e3ca30d4b1 Add module trait 2015-10-18 21:15:17 +02:00
Matthias Beyer bd6df27aec Add runtime module 2015-10-18 20:52:52 +02:00
Matthias Beyer 186a4e8b73 Initial import 2015-10-18 20:22:23 +02:00