|Jan 5, 2023
|Apr 7, 2022
|Mar 28, 2022
|Feb 9, 2022
#387 in Command line utilities
83 downloads per month
Contains (Mach-o exe, 1MB) target/release/grateful
Grateful is a command line interface (CLI) that enables you to boost your happyness by prompting you to write three things that you are grateful for every day.
Installing this CLI requires
cargo, the rust package manager. If you don't have it you can get it on mac with
brew install cargo. Once you have
cargo install the CLI with
cargo install grateful-cli
If you're on mac and you don't want to install
cargo you can also just download the binary
./target/release/grateful and add it to your
grateful into your terminal and it will prompt you to enter three things you're grateful for. Just type
What are you grateful for today? (3) > beans, I really like beans
What are you grateful for today? (2) > carrots, mmm so fresh
What are you grateful for today? (1) > potatoes, can't do without 'em
The only arguments you can pass are
count. These commands display all of your entries and your last entry respectively.
Who is this for? Are you an unhappy ungrateful person who never gives thanks for the things that you have? Or perhaps you already do this but you wanna do it from the command line!
Does this really work? Yes it does! Doing this excersise every day actually makes you happier. An ex-psych student once told me that.
- Implement tests
- Help menu
- Better handling of the args (is this even necessary? It's such a tiny script)
- Allow basic options like --version, (but maybe this is extra, it's such a tiny tool)
gratefulwith no additional args should start the data entry prompt, currently it just runs in this mode default whenever there's an error
- improve nondoc comments
- understand docs and rust doc comments
- better file structure
- make it more readable in general
- Better logs (trace error etc)
grateful lastreturns the first element of the json file instead of the last one.
- Find and link supporting documentation that validates claims about how this makes you happy.
- Prettier displays
- Eliminate need for dummy grateful statement
If you like this cli and want a new feature just send me a message! Also, contributions are welcome.
Appendix / MISC
Statement of Apology: I am a really stupid person, version 0.0.1 DOESN'T WORK, I'm really sorry about that. Versions ^0.0.2 work. Please forgive me for this very poor code, it's my first package. Also, the first package I pushed was miss-spelled "greatful-cli" instead of "grateful-cli", don't install "greatful-cli" it doesn't work! I will yank it and contact the rust people to ask them about removing it.