journal_cli

Crates.iojournal_cli
lib.rsjournal_cli
version0.1.3
sourcesrc
created_at2018-12-27 16:22:27.935842
updated_at2019-01-07 15:12:03.918686
descriptionA tool for writing journal entries
homepagehttps://github.com/JacobAndersson/journal_cli
repositoryhttps://github.com/JacobAndersson/journal_cli
max_upload_size
id104068
size5,402
Jacob Andersson (JacobAndersson)

documentation

README

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
Commit count: 0

cargo fmt