Skip to content
/ nag Public

A command line time blocker that nags you to get things done...

License

Notifications You must be signed in to change notification settings

ykumards/nag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nag 🐍️

PyPI - License Tests Version Downloads

nag is a command-line time-blocking tool designed to help you organize your day with time blocks. Add tasks to your schedule, annotate them, and display your timeline — all from the terminal.

Features

  • Add time blocks for specific tasks.
  • Annotate existing time blocks.
  • Display your timeline for a given day.
  • Simple and intuitive command-line interface.

Installation

1. Using pipx (recommended)

pipx is a great tool for installing Python applications in isolated environments, so you don’t clutter your global Python installation.

To install pipx:

python3 -m pip install --user pipx
python3 -m pipx ensurepath

After you have pipx installed, you can install nag:

pipx install nag

This will install nag and ensure it’s available globally on your system.

2. Using pip

You can also install nag using pip if you prefer to install it directly into your Python environment.

pip install nag

Usage

1. Adding a Time Block

To add a new task to your schedule:

nag block 09:00 10:00 "Meeting with team"

This will add a task from 9:00 AM to 10:00 AM with the description "Meeting with team" for today by default. You can also specify a date:

nag block 09:00 10:00 "Meeting with team" --date 09/19

2. Showing your schedule

To view your schedule for today:

nag show

You can also show the schedule for a specific date:

nag show --date 09/19

3. Annotating a task

To annotate an existing task using its ID (as shown in the timeline):

nag annotate <task_id> "Discussed project progress."

4. Mark task as DONE

To mark a task as DONE:

nag done <task_id>

5. Delete task

To delete a task using its ID:

nag delete <task_id>

Help

You can get help for any command by running:

nag --help
Usage: nag [OPTIONS] COMMAND [ARGS]...

  nag 🐍️ - Command-line time-blocking tool.

Options:
  --help  Show this message and exit.

Commands:
  annotate  Annotate an existing time block using its ID.
  block     Add a time block to your schedule with an optional date.
  delete    Delete a time block using its ID.
  done      Mark a time block as done using its ID.
  show      Show the timeline for the given date.

For specific commands, you can also run:

nag block --help
nag show --help
nag annotate --help
nag done --help
nag delete --help

Contributing

Contributions are welcome! If you’d like to contribute to this project, feel free to open a pull request or submit an issue.

License

This project is licensed under the MIT License.

About

A command line time blocker that nags you to get things done...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages