Commit Graph

22 Commits

Author SHA1 Message Date
Matthias Beyer 3b710e082d Add missing Cargo.toml metadata 2018-02-10 14:11:46 +01:00
Matthias Beyer d5a9e4930d Update dates in license header
And add missing header in one file
2018-02-07 02:48:53 +01:00
Matthias Beyer 30ef3bf0d3 Comment type fixed 2018-01-29 09:38:32 +01:00
Matthias Beyer 7731b88c97 Remove map_err_trace_exit() calls in favour of map_err_trace_exit_unwrap() 2018-01-29 09:38:32 +01:00
Matthias Beyer 635d000344 log: 0.4.0-rc.1 -> 0.4.0 2018-01-15 11:21:52 +01:00
Matthias Beyer f209e12410 Update dependency: log: 0.3.* -> 0.4.0-rc.1 2018-01-15 11:20:07 +01:00
Matthias Beyer f0e8e89c15 imag-contact: Replace read with typed read 2018-01-13 01:14:03 +01:00
Matthias Beyer 0c4be78223 Update dependency: toml-query -> 0.6 2018-01-13 01:14:03 +01:00
Matthias Beyer bfc35e0517 Remove dependency "version"
Because the "version" crate is licensed as GPL, which would us require
to release imag as GPL, we remove the crate now.
2018-01-12 13:33:40 +01:00
Matthias Beyer 3c8dd19d11 Update version strings: 0.5.0 -> 0.6.0 2017-12-25 19:17:07 +01:00
Matthias Beyer 04d5af8d50 Switch to upstream rust-vobject 2017-11-09 11:21:17 +01:00
Matthias Beyer 521d661f1c Fix path 2017-11-09 11:21:17 +01:00
Matthias Beyer 00c73d53c7 Phone and email information is in the person table 2017-11-09 11:21:17 +01:00
Matthias Beyer c8a8bdcd22 Fix format and location of content 2017-11-09 11:21:17 +01:00
Matthias Beyer c90d0ab34a Fix UUID-Filename creating, add debug output 2017-11-09 11:21:17 +01:00
Matthias Beyer 296136fca5 Add tests 2017-11-09 11:21:17 +01:00
Matthias Beyer 524df37ca6 Add parsing of personal information: Birthday 2017-11-09 11:21:17 +01:00
Matthias Beyer 794efb0034 Outsource functional part for testability 2017-11-09 11:21:17 +01:00
Matthias Beyer e211aba341 Implement create subcommand
The complexity of the create() routine justifies the move to another file.

This commit implements the create() functionality which creates a TOML
tempfile which the user should edit and then reads the contents to build
the Vcard object which then gets written to either stdout or the
destination file.

Besides that:

* Move helper function to util module
* Rewrite and fix tests
2017-11-09 11:20:32 +01:00
Matthias Beyer ab8c8e4e41 Add new required dependencies 2017-11-09 11:19:17 +01:00
Matthias Beyer d0ec7e26dc Add implementation for imag-contact
* Implement contact listing with formatting via commandline or config
* Implement importer functionality for contact
* Implement "show" subcommand
* imagrc.toml: Add explanation which fns are supported in templates
2017-11-09 11:19:17 +01:00
Matthias Beyer 0540ae9392 Initial import of imag-contact 2017-11-09 11:15:04 +01:00