Git Product home page Git Product logo

nao's Introduction

nao.py - Never leave your terminal!

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.

looking for contributors, please contact

alt text

Setup

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.

once you've gotten setup with nao, you can now freely use nao and modify your configuration.

Usage and basic commands

here are all of nao's listed commands. There are examples for clarification.

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

todo vs user defined categories

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  

this should give you some knowledge as to how the category system works, it removes strings, not indexed variables.

Thank you for viewing. I hope you find the script useful.

nao's People

Contributors

nquxii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.