Commit graph

56 commits

Author SHA1 Message Date
c35cd7ef15 Add String to URL list helper with markdown parser 2016-01-03 14:51:05 +01:00
d68d0088e8 main: Include Notes module 2016-01-02 20:06:21 +01:00
89101719ad Add bm-open command 2016-01-02 16:03:01 +01:00
745f57e480 ImagLogger can be configured through the CLI only now 2016-01-02 15:29:11 +01:00
37f3c90914 Remove dead code 2015-12-30 23:02:05 +01:00
a2856d8671 Remove unused imports 2015-12-30 23:02:05 +01:00
708f2bcff1 Added indent for readability 2015-12-30 18:50:09 +01:00
37588a9f3d Remove hello-world output 2015-12-30 18:48:28 +01:00
1647352a13 Use modules publicly, so "cargo doc" generates documentation 2015-12-30 02:10:50 +01:00
16d40e9bfe Add util: is_url(String) -> bool 2015-12-28 18:47:17 +01:00
fda7fd56b9 Fix: Argument for BM::exec() 2015-12-28 17:38:59 +01:00
63bbede00f Add missing 'use ...' 2015-12-27 18:00:31 +01:00
00d0bbf4ae Add basic interface for BM module 2015-12-27 18:00:28 +01:00
dd7b412976 Remove code 2015-12-21 19:20:09 +01:00
7d40b68407 Rename: StorageBackend -> Storage 2015-12-06 12:49:02 +01:00
da2b482bda Move Storage Backend code imag::storage::backend -> imag::storage 2015-12-06 12:47:08 +01:00
75cedc1580 Move to rust stable (1.4 atm) so we can use clap 2015-12-05 10:45:33 +01:00
f7a92b6e79 Resort "use"
First comes std stuff
Second is external crates
Then we have own modules

All in alphabetical order and as few lines as possible if readability is
preserved.
2015-12-05 01:14:13 +01:00
74a9523f45 Use box_patterns, so we can unbox in the tests 2015-12-04 17:52:30 +01:00
c1d497fa6a Add URL check before adding the "url" to the store 2015-12-04 15:09:03 +01:00
731d13e0ba Create store path on storage backend creation 2015-12-02 12:24:05 +01:00
e598a475e5 Use prettytable to implement TablePrinter 2015-12-02 12:24:05 +01:00
8a2c41ea22 Fix: Build StorageBackend with runtime 2015-12-02 12:24:05 +01:00
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
08d6e8da13 We need to unwrap here (and it is save) 2015-12-02 12:24:05 +01:00
fda2c4feea Add CommandEnv building in command calling code in main() 2015-12-02 12:24:05 +01:00
18ea01b854 Pass StorageBackend to subcommand function 2015-12-02 12:24:05 +01:00
3f19aba7b2 Add subcommand calling code in main() 2015-12-02 12:24:05 +01:00
a24d3175dd We do not have Module::execute() anymore 2015-12-02 12:24:05 +01:00
750f4cd31c Start adding the BM submodule 2015-12-02 12:24:05 +01:00
c3397d5238 Use prettytable to implement TablePrinter 2015-12-02 12:20:52 +01:00
918016368e Add file printer helpers 2015-12-02 12:20:23 +01:00
beee7b20b4 Add debug output in main 2015-11-27 19:24:58 +01:00
c8231e5c31 Fix: variable does not need to be mutable 2015-11-27 16:49:25 +01:00
48fd3e66f5 Add implementation for Storage::createEmpty() 2015-11-23 19:17:46 +01:00
7e86394b3c add dep: glob 2015-11-20 15:33:40 +01:00
9167fde4fb Add dependency: serde 2015-11-09 18:35:07 +01:00
b211862602 Add json deserializer 2015-11-09 18:35:02 +01:00
111a990b99 Add debugging output in main.rs 2015-11-07 23:38:49 +01:00
bdb0792040 Add extern crate regex 2015-10-28 17:39:53 +01:00
b98dea3946 Rename "Config" to "CliConfig" 2015-10-27 00:02:42 +01:00
904d3fa8c0 Pass configuration from cfg file to Runtime as well 2015-10-27 00:01:11 +01:00
497cdde581 Logger should respect configuration 2015-10-26 23:59:24 +01:00
099d63f13a Implement simple configuration module 2015-10-26 23:52:01 +01:00
32e585e7eb Add configuration module 2015-10-26 22:30:15 +01:00
7f224e8f58 Replace all output with macros from logging library 2015-10-26 20:58:52 +01:00
c41ec1d85c Add logger with logging library 2015-10-26 20:53:12 +01:00
3556e5adc6 Refactor complete CLI code 2015-10-25 19:52:31 +01:00
c50d097831 Cleanup module confusion 2015-10-25 18:43:47 +01:00
1cea0e48e0 cleanup 2015-10-25 18:43:46 +01:00