Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added test for tempfile creation | Ben Morrison | 2020-05-27 | 1 | -0/+13 |
| | |||||
* | clippy lints | Ben Morrison | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | prepopulating editor with post body when editing | Ben Morrison | 2020-05-26 | 1 | -1/+6 |
| | |||||
* | removed panics and refactored error handling | Ben Morrison | 2020-05-26 | 1 | -12/+9 |
| | | | | | | | | Using a helper function to handle fatal errors error::helper() Displays the simplified message if an error condition occurs. Displays both the simplified and the raw error message if -v verbose logging is enabled. | ||||
* | hiding some log messages behind -v flag | Ben Morrison | 2020-05-26 | 1 | -1/+5 |
| | |||||
* | moved check for val of $EDITOR into ed::call() | Ben Morrison | 2020-05-26 | 1 | -19/+19 |
| | | | | | Also removed some allocations from call() in the form of unnecessary string clones. | ||||
* | logging changes: | Ben Morrison | 2020-05-26 | 1 | -1/+0 |
| | | | | | | | | | | Rather than using a new logfile for each invocation, a single logfile called `/tmp/clinte_$USER.log` will be used, with later invocations appending to the previous messages. Also removed some unnecessary `use` statements relating to the `log` crate and its macros. Leaving the macro calls namespaced to `log::` makes it clearer what the behavior is. | ||||
* | using rfc3339 for temp file name | Ben Morrison | 2019-09-04 | 1 | -1/+1 |
| | |||||
* | removing temp file | Ben Morrison | 2019-09-04 | 1 | -1/+3 |
| | |||||
* | now opens $EDITOR to write post body | Ben Morrison | 2019-09-04 | 1 | -0/+51 |