Skip to main content

Command Line Day Planner

Project description

today

A command line program to help you plan your day and execute it in an organised way

screenshot_1

screenshot_2

Screenshots taken on Gnome Terminal.

Getting Started

today is a Command Line day planner program. The intention of developing this program was to help people plan their whole day and stay organised and productive. This Command Line application will let you have a realistic plan for your day, save your time, and help you stay organised.

today has quite a few features. This short introduction will introduce you to basic commands.

To see how to install today, scroll down to installation guide.

You can find the full wiki documentation here.

The Help Message

Open your terminal.

To see what we can do with this program, run the command below:

today -h

You should see a longer version of this help message:

positional arguments:
  ID Name Duration  [int] [str] [time]

options:
  -h, --help        show this help message and exit

Basic Task and Data:
  -a                add/append a new Task [ID][Name][Duration]
  -d                mark done [ID]
  -D                mark undone [ID]
  -r                remove [ID]
  -s                skip [ID]
  -S                unskip [ID]
  -m [ID]           modify [New ID] [New Name] [New Duration]

Modifiers:
  -E                do action for every Tasks
  -i [int]          iterate this number of times
  -I                increment ID by 1 each time

This is the shortened version of the help message for today. We will only be looking at what we need to know to get started using this program.

Creating a New Task

Let's say we woke up in the morning and the first task of our day will be to exercise for 40 minutes. But how do we add a new task? Well if you look under the options, you will see one option that starts with -a with the message "add/append a new Task [Name] [Duration]". Let's use that.

today -a Exercise 40m

We are calling the program today and we are giving it the optional argument -a followed by two positonal arguments "Exercise" and "40m".

Now let's check what we added:

today
ID Time  Name     Duration Skip     Done
0   7:00 Exercise  0:40    False    False    *

It worked! Let's add some more tasks.

today -a Shower 20
today -a Cook 1h
today -a Calculus Course 45m
today -a Important Project 3h

Now let's check again.

today
ID Time  Name              Duration Skip     Done
0   7:00 Exercise           0:40    False    False    *
1   7:40 Shower             0:20    False    False
2   8:00 Cook               1:00    False    False
3   9:00 Breakfast          0:15    False    False
4   9:15 Calculus Course    0:45    False    False
5  10:00 Important Project  3:00    False    False

Mark A Task Done

Did you notice that asterisk (*) beside the first task? That indicates that task is the next task. If you look at the help message, you will find the option for marking a task as done (it's -d). Let's try that.

today -d
Task 0: Exercise done.

We did not tell the program which task we just did, why did it pick Task 0? Because it was the next task on our list. Let's see our day again.

today
ID Time  Name              Duration Skip     Done
0   7:00 Exercise           0:40    False    True
1   7:40 Shower             0:20    False    False    *
2   8:00 Cook               1:00    False    False
3   9:00 Breakfast          0:15    False    False
4   9:15 Calculus Course    0:45    False    False
5  10:00 Important Project  3:00    False    False

Did you notice that Shower is now highlighted as the next task? It's the next Task of our day.

Using ID

But what if we want to mark a specific task as done?

We can pass the ID as a positonal argument. Let's say you skipped Shower and went to cook (you stinky!). We can use today -d followed by the ID of the Task Cook.

today -d 2
Task 2: Cook done.

We are getting the hang of this.

Undo A Task

To undo a done task, you can use the optional argument -D the same way as you would use -d. If you don't provide any ID then the last done task will be undone.

Skip A Task

If you want to skip a task, you can use -s to mark task as skipped. A skipped task won't be highlighted as next.

Use -S to unskip.

Remove A Task

-r will remove a task.

Be careful, this option is not reversible.

Learn More

To learn more, please read the wiki.

Install today

Install With Pip

pip install today-cli

Having an Issue?

command not found

Debian/Ubuntu

~/.local/bin is not on the default Debian/Ubuntu $PATH. To fix this issue, run:

echo export PATH="\$HOME/.local/bin:\$PATH" >> .profile

Then restart your shell.

macOS

Please read this.

Any Other Issue?

Please post here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

today_cli-1.1.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

today_cli-1.1.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file today_cli-1.1.0.tar.gz.

File metadata

  • Download URL: today_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for today_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5a1025ad0256a16e7248e3c686b1b0aee8c37e231315ac341e53c3a5625d952d
MD5 76ce5db863a77025867a879033e42484
BLAKE2b-256 9d1b9b6a4a0adfd79426a087694957e4b7169afff4a0671850acf16d18009df9

See more details on using hashes here.

File details

Details for the file today_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: today_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for today_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18692b190f9f8183e36fa2e7edc9a4fcf22e9a0a85f477b818463a2c1520473a
MD5 1060c3e75bda0d65cb8418b8e668b9f8
BLAKE2b-256 39ee983905c364a6e2d688b202250377969935d835c49c5340522d86a9510dbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page