4 releases
new 0.2.2 | Jan 4, 2025 |
---|---|
0.2.1 | Jan 4, 2025 |
0.2.0 | Jan 3, 2025 |
0.1.0 | Jan 3, 2025 |
#306 in Command line utilities
352 downloads per month
27KB
610 lines
bjourn
A commnd line Bullet List tool
Installation
cargo install --locked bjourn
Usage
A simple journaling tool
USAGE:
bjourn [action] [args]
ACTIONS:
-a, --add, add [text]
Add a new entry with the given text
-h, --help, help
Print this help message
-l, --list, list [optional date]
List all entries for the given date, defaults to today
-r, --remove, remove [id]
Remove the entry with the given id
-v, --version, version
Print the version of bjourn
OPTIONS:
-o, --output [md, markdown, json]
Actions
Add
Add a new bullet point to the list
bjourn add This is a new bullet point
Help
Print the help message
bjourn help
List
You can view the day's bullet points by specifying the day or view today's bullet points without specifying a day.
bjourn
bjourn list 2025-01-01
When piping to another command, the output is formatted as a simple list of bullet points
bjourn list 2025-01-01 | pbcopy
bjourn list | cat
* woke up and had breakfast
* added version 0.2.1 of bjourn
Remove
Remove a bullet point by specifying the id
bjourn remove beWLHOFj
Options
Output
You can specify the output format of the list command by using the -o
or --output
flag
bjourn list 2025-01-04 -o json
ENV variables
DEBUG
- Set to true
to print debug messages
BJOURN_USAGE
- Set to false
to print the "usage" message when running bjourn with no arguments
Development Notes
Run:
cargo run
Run with arguments:
cargo run -- add This is a new bullet point
Debug Mode
DEBUG=true cargo run
Installation (Local)
cargo install --path .
Dependencies
~25–50MB
~826K SLoC