Nao.py is a simple terminal bot that outlines your day and displays what you need it to. Get your boost for the day and move forward with your goals.
To get started with nao, clone this repository, change your directory into nao, and run the script like so:
git clone https://github.com/Nquxii/nao.py
cd nao
python3 nao.py
these commands should get you started.
-n Name
sets your name as 'Name'
-c SCHD
adds category 'SCHD'
-d, 1, Math Class
adds 'Math Class' to your SCHD category
Nao uses json
to store and grab information. if you'd like, you can skip the setup entirely and modify the json, in the same folder.
Command | Description | Usage | Example |
---|---|---|---|
x | exit nao | x | nao>>x |
q | display another quote | q | nao>>q |
h | show all nao commands | h | nao>>h |
t | display the current time | t | nao>>t |
-n | add (or change) your name | -n | -n Eren |
-t | add another to-do to nao | -t {subject} | -t Walk the dog |
-rt | remove a to-do from nao | -rt {number of todo} | -rt 2 |
-c | add a new category to nao | -c {topic} | -c SCHD |
-rc | remove a category from nao | -rc {number of user defined category} | -rc 1 |
-d | add a description to one of your categories | -d, {number of user defined category}, {what you want to input there} | -d, 2, visit gran |
-rd | remove part of a description from one of your categories | -rd, {number of user defined category}, {what you want to remove there} | -rd, 2, visit gran |
if you start up nao without any added categories, youll get something like this:
[TIME] 5:00
[DATE] 01/26/2021
[TODO]
to add a todo, there is lack of flexibility and you are forced to use commas to index the to-do properly
-t go for a walk
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk
-t visit dad
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk, visit dad
when you make your own categories, there is no set divisor and you remove your descriptions by string
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk
-c PRGM
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk
[PRGM]
-d, 1, Learn Python
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk
[PRGM] Learn Python
rd, 1, Python
[TIME] 5:00
[DATE] 01/26/2021
[TODO] go for a walk
[PRGM] Learn