Matthias Beyer
d775750362
Color some info!() output
2016-01-03 20:28:42 +01:00
Matthias Beyer
e1407c75a3
Add dep: ansi_term
2016-01-03 20:12:08 +01:00
Matthias Beyer
961ff09326
Removing pulldown in favor hoedown
2016-01-03 16:28:42 +01:00
Matthias Beyer
873efa7475
Add dep: itertools
2016-01-03 15:21:34 +01:00
Matthias Beyer
c35cd7ef15
Add String to URL list helper with markdown parser
2016-01-03 14:51:05 +01:00
Matthias Beyer
d68d0088e8
main: Include Notes module
2016-01-02 20:06:21 +01:00
Matthias Beyer
89101719ad
Add bm-open command
2016-01-02 16:03:01 +01:00
Matthias Beyer
745f57e480
ImagLogger can be configured through the CLI only now
2016-01-02 15:29:11 +01:00
Matthias Beyer
37f3c90914
Remove dead code
2015-12-30 23:02:05 +01:00
Matthias Beyer
a2856d8671
Remove unused imports
2015-12-30 23:02:05 +01:00
Matthias Beyer
708f2bcff1
Added indent for readability
2015-12-30 18:50:09 +01:00
Matthias Beyer
37588a9f3d
Remove hello-world output
2015-12-30 18:48:28 +01:00
Matthias Beyer
1647352a13
Use modules publicly, so "cargo doc" generates documentation
2015-12-30 02:10:50 +01:00
Matthias Beyer
16d40e9bfe
Add util: is_url(String) -> bool
2015-12-28 18:47:17 +01:00
Matthias Beyer
fda7fd56b9
Fix: Argument for BM::exec()
2015-12-28 17:38:59 +01:00
Matthias Beyer
63bbede00f
Add missing 'use ...'
2015-12-27 18:00:31 +01:00
Matthias Beyer
00d0bbf4ae
Add basic interface for BM module
2015-12-27 18:00:28 +01:00
Matthias Beyer
dd7b412976
Remove code
2015-12-21 19:20:09 +01:00
Matthias Beyer
7d40b68407
Rename: StorageBackend -> Storage
2015-12-06 12:49:02 +01:00
Matthias Beyer
da2b482bda
Move Storage Backend code imag::storage::backend -> imag::storage
2015-12-06 12:47:08 +01:00
Matthias Beyer
75cedc1580
Move to rust stable (1.4 atm) so we can use clap
2015-12-05 10:45:33 +01:00
Matthias Beyer
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
Matthias Beyer
74a9523f45
Use box_patterns, so we can unbox in the tests
2015-12-04 17:52:30 +01:00
Matthias Beyer
c1d497fa6a
Add URL check before adding the "url" to the store
2015-12-04 15:09:03 +01:00
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