| Crates.io | clamshell |
| lib.rs | clamshell |
| version | 0.2.0 |
| created_at | 2024-06-22 10:12:55.262013+00 |
| updated_at | 2025-05-24 18:34:56.326483+00 |
| description | A quick and dirty to-do file viewer and manipulator. |
| homepage | |
| repository | https://github.com/DriftingOtter/clamshell.git |
| max_upload_size | |
| id | 1280327 |
| size | 45,836 |
A quick and dirty to-do file viewer and manipulator.
Clone the repository and navigate into it:
git clone https://github.com/DriftingOtter/clamshell.git
cd clamshell
Use the provided script to configure and build Clamshell automatically:
chmod +x install.sh
./install.sh
If you prefer to configure and build manually:
Specify the location of your to-do file using the TODO_FILE_PATH environment variable:
export TODO_FILE_PATH=/home/USERNAME_HERE/Documents/todo.org
You can optionally set which programs are used for editing and viewing the to-do file:
export DEFAULT_EDITOR=vim # Default is nano
export DEFAULT_VIEWER=less # Default is cat
These values will be compiled into the binary. You can still override them at runtime using CLI flags.
cargo build --release
To access clamshell without specifying the binary path, move it to your local binaries folder:
cp target/release/clamshell ~/.local/bin
Ensure ~/.local/bin is in your PATH. You can add it by updating your shell configuration file (~/.bashrc or ~/.zshrc):
export PATH="$HOME/.local/bin:$PATH"
clamshellclamshell -e or clamshell --editclamshell -h or clamshell --help--editor <name>: Override the default editor (e.g., vim, nano).--viewer <name>: Override the default viewer (e.g., cat, less).