This is a CLI application that helps users manage their tasks. Users can add, remove, update, and list tasks using this application. This project is built using Rust programming language and relies on the clap, csv, and dotenv crates.
To install this application, follow these steps:
- Clone the repository to your local machine.
- Run
cargo build --releaseto build the application. - Set the
DOER_OUTPUT_DIRenvironment variable to the desired output directory for the task list file. Alternatively, you can create a.envfile in the project directory with the following content:
DOER_OUTPUT_DIR=/path/to/task/file
- Run the application using the command
./target/release/task <SUBCOMMAND> [ARGS].
The application supports the following subcommands:
add: Add a new task. Example:task add "Buy groceries"do: Mark a task as done. Example:task do 1hold: Put a task on hold. Example:task hold 1reset: Reset a task. Example:task reset 1rm: Remove a task. Example:task rm 1ls: List all tasks with filtering options. Example:task ls --tag personal --status todo
The filtering options for the ls subcommand are:
--tag: Filter tasks by tag. Example:task ls --tag personal--status: Filter tasks by status. Example:task ls --status done--due: Filter tasks by due date. Example:task ls --due 2022-01-01--priority: Filter tasks by priority. Example:task ls --priority 1
The --view option for the ls subcommand determines how the tasks are displayed. The available options are:
tags: Display the tags for each task. Example:task ls --view tagsdue: Display the due date for each task. Example:task ls --view due
❯ task ls --tag=test --view=tags
# test
---------------
[X][34 - Low] test (03-30)
[X][35 - Low] test task (03-30)
[X][46 - High] Test task (03-31)
[X][36 - Low] test task 2 (04-05)
❯ task ls --tag=test --view=due
Due: 2023-03-30 (Thursday)
--------------------------------
# test
[X][#34 - Low] test
[X][#35 - Low] test task
Due: 2023-03-31 (Friday)
--------------------------------
[X][#46 - High] Test task
Due: 2023-04-05 (Wednesday)
--------------------------------
[X][#36 - Low] test task 2
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.