#journal #entries #note #log #tool #path #command

app journal_cli

A tool for writing journal entries

4 releases

0.1.3 Jan 7, 2019
0.1.2 Jan 1, 2019
0.1.1 Dec 30, 2018
0.1.0 Dec 27, 2018

#34 in #journal

MIT license

6KB
70 lines

journal_cli

A simple command line tool for writing small journal entries for your projects.

Usage

The tool is used for writing journal entries or notes for your project.

For adding a entry or note, write this into your command line

journal_cli -m "foo bar"

For deleting the log file, use the following command

journal_cli --empty

If you have you used a custom path for writing your entries or notes, use the following command

journal_cli --empty --path "YOUR PATH"  

Here are all the possible flags and options for journal_cli

USAGE:
    journal_cli [FLAGS] [OPTIONS]

FLAGS:
    -e, --empty       Option to empty the log file. If you used a custom path you need to also pass this as an argument.
    -h, --help        Prints help information
    -n, --noheader    Option to write to the file without a header
    -V, --version     Prints version information

OPTIONS:
    -m, --message <message>    The log message [default: ]
    -p, --path <path>          The path where the message will be saved [default: ./log.txt]

The numbering breaks if you create more than 99 log entries. This will be fixed in future versions

Install

Requires that you have Rust 2018 installed. Journal_cli is published to crates.io and can be installed with the following command.

cargo install journal_cli

Update

Because journal_cli is installed through crates.io you have to reinstall the package to update it.

cargo install journal_cli --force

Dependencies

~3MB
~59K SLoC