1 unstable release
new 0.1.0 | May 10, 2025 |
---|
#2878 in Command line utilities
18KB
404 lines
Hardly Working - Another todo list CLI
Working hard or hardly working - A todo list CLI
Features
- Add, toggle, edit, and remove tasks
- Search and group tasks
- Markdown-based storage format
- Configurable todo list file location
Installation
Build from source:
git clone https://github.com/benjamin-kruger/hardly-working
cd hardly-working
cargo build --release
cp target/release/hw ~/.cargo/bin/hw
Usage
# Configure task file location (by default at ~/.config/hw/config.json)
hw config --file-path ~/Documents/tasks.md
# Show current configuration
hw config --show
# Add a new task
hw add "I have plans to work hard"
# List all tasks
hw ls
# Toggle task completion status
hw toggle 1
# Remove a task
hw remove 1
# Clear all completed tasks
hw clear
Storage
Tasks are stored in a simple Markdown file with checkbox syntax:
- [ ] Incomplete task
- [x] Completed task
By default, tasks are stored in ~/todo.md
. To se a preferred path, use hw config
.
License
This project is licensed under an MIT license (http://opensource.org/licenses/MIT)
Dependencies
~2–13MB
~96K SLoC