Personal to-do list, organized as a simple, yet effective tool for task management. Using todo.txt
file to store data with todo.txt format rule.
To store your to-do list, create personal Git
project and create todo.txt
file in your project with main
branch name. Clone it to your local directory.
Add environment to your system:
Temporary (for the current session):
export LOCAL_REPO=/path/to/local/repo
export REMOTE_GIT=https://github.com/username/todo-repo.git
Permanent (persists across sessions):
Add the following lines to your shell's configuration file (e.g., ~/.bashrc
or ~/.zshrc
):
export LOCAL_REPO=/path/to/local/repo
export REMOTE_GIT=https://github.com/username/todo-repo.git
Then, either restart your terminal or run source ~/.bashrc
(or source ~/.zshrc
) to apply the changes.
Temporary (for the current session), using the Command Prompt (CMD):
set LOCAL_REPO=C:\path\to\local\repo
set REMOTE_GIT=https://github.com/username/todo-repo.git
Temporary (for the current session), using the PowerShell:
$env:LOCAL_REPO = "C:\path\to\local\repo"
$env:REMOTE_GIT = "https://github.com/username/todo-repo.git"
Permanent (persists across sessions), using the Command Prompt (CMD):
setx LOCAL_REPO "C:\path\to\local\repo" /m
setx REMOTE_GIT "https://github.com/username/todo-repo.git" /m
Permanent (persists across sessions), using the PowerShell:
[Environment]::SetEnvironmentVariable("LOCAL_REPO", "C:\path\to\local\repo", "User")
[Environment]::SetEnvironmentVariable("REMOTE_GIT", "https://github.com/username/todo-repo.git", "User")
NPM
must be installed on your system, then install it with global parameters:
npm i -g jadwal
Once the jadwal
package is installed, the following commands are available:
jadwal add
- Add a new todo. Use jadwal help add for detailed usage.
Examples:
Using long options:
jadwal add --description "Finish report" \
--priority A \
--creation-date 2024-09-20 \
--completion-date 2024-09-30 \
--project Work \
--context Office \
--special-tag reminder:2024-09-25
Using short options:
jadwal add \
-d "Finish report" \
-p A \
-c 2024-09-20 \
-P Work \
-t Office \
-s reminder:2024-09-25
jadwal add --description "Finish report" ^
--priority A ^
--creation-date 2024-09-20 ^
--project Work ^
--context Office ^
--special-tag reminder:2024-09-25
Using short options:
jadwal add ^
-d "Finish report" ^
-p A ^
-c 2024-09-20 ^
-P Work ^
-t Office ^
-s reminder:2024-09-25
Both examples will add a new todo with the following attributes:
- Description: "Finish report"
- Priority: A
- Creation Date: January 15, 2023
- Completion Date: September 30, 2024
- Project Tag: Work
- Context Tag: Office
- Special Tag: reminder:2024-09-25
jadwal update
- Update an existing todo. Use jadwal help update for detailed usage. Below is example to update data with adding completion data, new description and priority attributes. And don't forget to provide old description
as key for updating existing data.
jadwal update \
-d "Update finish report" \
-p B \
-c 2024-09-20 \
-o "Finish report"
For long option and Windows commands, see the example in add
section above.
jadwal delete
- Delete a todo. Use jadwal help delete for detailed usage.
jadwal list
- List all todos.
jadwal done
- Mark a todo as done.
jadwal sync
- Sync todos with Git.
jadwal reveal
- Reveal todo.txt in explorer.
jadwal help
- Show the general help message.
jadwal help <command>
- Show detailed help for a specific command (e.g., jadwal help add
).