Commit Graph

3269 Commits

Author SHA1 Message Date
Homu 0bc567d09b Auto merge of #69 - matthiasbeyer:update-repo-meta, r=matthiasbeyer
Add more metadata for project

Just some improvements to `Cargo.toml`
2016-01-07 04:24:57 +09:00
Matthias Beyer 6feb3ad30b Add more metadata for project 2016-01-06 20:24:26 +01:00
Homu 72f7254005 Auto merge of #67 - matthiasbeyer:tableprinter-pretty, r=matthiasbeyer
Tableprinter pretty

Support for printing plain ASCII-Tables without borders and such.
2016-01-07 04:03:29 +09:00
Homu 9662678b30 Auto merge of #66 - matthiasbeyer:report-success, r=matthiasbeyer
Report success

Report success (as simple "Ok"/"Error" string) to the user, if the user wants that.
2016-01-07 03:57:54 +09:00
Matthias Beyer 24c150852c BM: Add support for un-pretty tables 2016-01-06 19:56:06 +01:00
Matthias Beyer 75dfc2b097 Notes: Add support for un-pretty tables 2016-01-06 19:54:21 +01:00
Matthias Beyer 56730cb7b8 Add support for printing table without borders 2016-01-06 19:53:53 +01:00
Matthias Beyer 71f37f69c3 Move ::new() out of FilePrinter trait 2016-01-06 19:31:20 +01:00
Matthias Beyer 51870b63f2 Add reporting implementation 2016-01-06 19:25:26 +01:00
Matthias Beyer d9de33a932 Add runtime wrapper for reporting mode 2016-01-06 19:25:15 +01:00
Matthias Beyer d9deb9025b Add configuration file parsing for reporting mode 2016-01-06 19:25:01 +01:00
Matthias Beyer aa30137300 Add CLI implementation for reporting 2016-01-06 19:24:48 +01:00
Matthias Beyer 24b6460705 Add CLI spec for reporting mode 2016-01-06 19:24:37 +01:00
Homu 19ef1dd25a Auto merge of #57 - matthiasbeyer:add-yaml-header-parser, r=matthiasbeyer
Add yaml header parser

I would like to add more tests.
2016-01-07 01:35:17 +09:00
Matthias Beyer 565b375e9f Notes: Switch from JSON in header to YAML
Interestingly, I'm backwards compatible as it seems. The JSON can be
parsed by the YamlParser still... nice!
2016-01-06 17:31:37 +01:00
Matthias Beyer 55f06d656b Add deserialize->serialize test 2016-01-06 17:27:44 +01:00
Matthias Beyer 1fcdb2d21a Add simple deserialization test 2016-01-06 17:27:44 +01:00
Matthias Beyer 66ddbc0428 Add YAML header parser 2016-01-06 17:27:44 +01:00
Matthias Beyer 885b12bc43 Add dep: yaml-rust 2016-01-06 17:27:44 +01:00
Homu aaf3660f31 Auto merge of #65 - matthiasbeyer:fix-module-parser, r=matthiasbeyer
Remove parser variable from Notes::command_show()

Was still there because of the merge order.
2016-01-07 01:04:23 +09:00
Matthias Beyer 9425741061 Remove parser variable from Notes::command_show() 2016-01-06 17:03:43 +01:00
Homu e345abf007 Auto merge of #62 - matthiasbeyer:module-parser, r=matthiasbeyer
Module parser

Move the

```
let parser = ...
```

Foo in each function to a module-global parser object in the module object.
2016-01-06 05:54:03 +09:00
Homu 7c49cc5d14 Auto merge of #63 - matthiasbeyer:notes-show, r=matthiasbeyer
Notes show

Add subcommand for `notes`: `show`, to print notes on the commandline, unrendered.
2016-01-06 05:44:16 +09:00
Matthias Beyer cdbf6d2d2f Notes: Make parser module member 2016-01-05 21:40:17 +01:00
Matthias Beyer d25ee7ec8a BM: Make parser module member 2016-01-05 21:38:51 +01:00
Matthias Beyer 3bee78273e Notes: Implement command_show() 2016-01-05 21:34:03 +01:00
Matthias Beyer 58d303be02 Add CLI specification 2016-01-05 21:17:29 +01:00
Homu fc7f2c0bb1 Auto merge of #61 - matthiasbeyer:deny, r=matthiasbeyer
Turn warning into hard errors and fix them

Finally, I cleaned up a bit.

The `dead_code` warning is still disabled, though I might enable it anytime soon.
2016-01-06 01:39:47 +09:00
Matthias Beyer 0bdd548eab Use unused result in test: set_logger() 2016-01-05 17:39:12 +01:00
Matthias Beyer b43a68d10a Rename some variables, so we can remove unneeded shorthand field patterns 2016-01-05 17:39:11 +01:00
Matthias Beyer 8b7ab8fae1 Remove unneeded shorthand field pattern 2016-01-05 17:39:11 +01:00
Matthias Beyer ed72b8b250 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
Matthias Beyer 4b489b2088 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
Matthias Beyer 92d84d39e4 Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
Matthias Beyer 7b04d02a4a Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
Matthias Beyer b2f7200b38 Remove unused import 2016-01-05 16:57:49 +01:00
Matthias Beyer 29ba1464ff Remove unused import 2016-01-05 16:57:32 +01:00
Matthias Beyer afd80b39c6 Remove unused import 2016-01-05 16:57:21 +01:00
Matthias Beyer 270466ab3a Add missing imports after rebase 2016-01-05 16:46:13 +01:00
Matthias Beyer 35487ec9a6 Remove unneeded shorthand field pattern 2016-01-05 16:43:15 +01:00
Matthias Beyer 64eee78db0 deny(non_shorthand_field_patterns) 2016-01-05 16:43:15 +01:00
Matthias Beyer 20dfd661d4 Use unused return value: On glob() error, print error msg 2016-01-05 16:43:15 +01:00
Matthias Beyer fb15a57a88 Use unused return value: On error, print error 2016-01-05 16:43:15 +01:00
Matthias Beyer 128fa427f8 Remove unused import 2016-01-05 16:43:15 +01:00
Matthias Beyer 4f8886f3c7 Remove unused import 2016-01-05 16:43:15 +01:00
Matthias Beyer 1ddbaae9e0 Use unused return values from write_all() 2016-01-05 16:43:15 +01:00
Matthias Beyer e46fb41dd2 Remove unused import 2016-01-05 16:42:14 +01:00
Matthias Beyer b00befbcaf Use unused return value by wrapping in try!() 2016-01-05 16:42:14 +01:00
Matthias Beyer 0a63bc8f4d Remove unused variable 2016-01-05 16:42:14 +01:00
Matthias Beyer 668811dafa Remove unused import 2016-01-05 16:42:14 +01:00