https://github.com/nafeu/activity-roulette
Simple interactive console program for generating a task completion log
https://github.com/nafeu/activity-roulette
Last synced: about 1 month ago
JSON representation
Simple interactive console program for generating a task completion log
- Host: GitHub
- URL: https://github.com/nafeu/activity-roulette
- Owner: nafeu
- License: mit
- Created: 2018-09-24T17:42:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T01:42:19.000Z (over 6 years ago)
- Last Synced: 2025-04-09T22:57:38.675Z (about 1 month ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Activity Roulette
A simple interactive console program for generating a task completion log
### Requirements
Python
### Installation
```
git clone https://github.com/nafeu/activity-roulette.git
cd
echo ":" `pwd`
```Make note of the path to your `` and add the following aliases to your `.bashrc` or `.zshrc`:
```
alias argo="python /main.py"
alias arlog="cat /log.txt"
alias aredit="subl /activities.txt"
```* You can swap `subl` with the text editor of your choice.
### Usage
Run the `argo`, `arlog` and `aredit` alias commands in your shell.
`argo` runs the program
`arlog` displays your log
`aredit` opens the `activities.txt` file for you to edit
When editing the `activities.txt` file, follow this format:
```
# Comments
Activity 1
Activity 2 (tagA, tagB, tagC)
Activity 3 (tagB)
```With each activity on its own line, comments preceded by `#`, and optional tags added in brackets.
When selecting your shortlist, you can type numbers or tags separated by `,`, for example:
```
...
Arrange Your Shortlist[0] Activity 1
[1] Activity 2
[2] Activity 3> tagB
Are you okay with these activities? (y/n)
Activity 2
Activity 3
...
```### Credits
Nafeu Nasir
### License
MIT