r2todo π

r2todo
is a simple and efficient command-line TODO application that keeps you focused by managing your tasks in a CSV file. It's designed to be quick to operate and free from internet-based distractions, ensuring that you own your data. π
Features β¨
- Manage TODO items with ease. β
- Store tasks in a CSV file. π
- No internet distractionsβkeep your data private. π
Installation π§
To install r2todo
, you can build it from source using Go. Make sure you have Go installed on your machine.
-
Clone the repository:
git clone https://github.com/IamMuuo/r2todo.git
-
Navigate to the project directory:
cd r2todo
-
Build the application:
go build -o r2todo
-
Move the binary to a directory in your PATH:
mv r2todo /usr/local/bin/
Adjust the path as necessary based on your operating system and environment.
Usage π οΈ
Run r2todo [command]
to interact with the application. Hereβs a brief overview of available commands:
- complete: Toggles the completion status of a TODO item. βοΈ
- completion: Generate the autocompletion script for the specified shell. π₯οΈ
- create: Creates a new TODO item. βοΈ
- delete: Deletes a TODO item from the CSV file. β
- help: Displays help about any command. β
- list: Lists all currently saved TODO items. π
Flags π©
-a, --delete-all
: Specifies whether to delete all TODO items. ποΈ
-d, --description string
: The description of the TODO item. π
-h, --help
: Displays help information. β
-i, --task-id int
: The ID of the TODO item. π’
Examples π‘
-
List all TODO items:
r2todo list
-
Create a new TODO item:
r2todo create --description "Finish the report"
-
Complete a TODO item:
r2todo complete --task-id 1
-
Delete a TODO item:
r2todo delete --task-id 1
-
Delete all TODO items:
r2todo delete --delete-all
Autocompletion β¨οΈ
To enable shell autocompletion for r2todo
, use the completion
command to generate the script for your shell. For example:
r2todo completion bash > /etc/bash_completion.d/r2todo
Supported Shells π
Contributing π€
Contributions are welcome! If you have suggestions, bug reports, or would like to contribute code, please follow these steps:
Fork the repository. π΄
Create a new branch for your feature or fix. πΏ
Make your changes and test them thoroughly. π οΈ
Submit a pull request with a clear description of your changes. π
License
- Licensed under the Apache License see License for more info
Questions? π€
If you have any questions or need further clarification, feel free to open an issue on GitHub or contact the project maintainers.
Enjoy managing your tasks with r2todo! π