a flexible task manager
Project description
Lollygag
Lollygag is a CLI based Task Manager.
Core Concepts
Tasks
Tasks are the core construct of Lollygag. A task has the following fields:
- id - auto incrementing int
- title - String
- due - DateTime
- description - String
- priority - Integer corresponding to a priority value:
- 0 - "low"
- 1 - "medium"
- 2 - "high"
- 3 - "critical"
- status = Integer corresponding to a status value:
- 0 - "Open"
- 1 - "In Progress"
- 2 - "Blocked"
- 3 - "Complete"
To add a task, ensure the tasks box has focus (tab / shift-tab to switch focus) and press ctrl+a. To delete a task, press ctrl+d
Views
to organize how you navigate your tasks, a user can create arbitrary views that are built using SQL. To create a view, ensure the views box has focus, then press ctrl+a. There are three fields to fill out:
- Title: The title for this view
- Query: The sql query to perform
- Sort Order: An integer used to sort the order of your views. (lower numbers are sorted higher, i.e. 1 is higher on the list than 2, )
View SQL Queries
Basic View SQL queries should take the form of:
select * from tasks where {your criteria}
Using the available fields from a Task listed above, we can craft a query to filter all open critical priority items due today:
# Open Critical tasks due today (sqlite)
select * from tasks where priority = 3 and date(due) = date('now') and status = 0
Other shortcuts
- To save a task or view without needing to tab to ok,
ctrl+s - to abandon editing or creating a view or task,
ctrl+w ctrl+cto quit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lollygag-cli-0.0.1.tar.gz.
File metadata
- Download URL: lollygag-cli-0.0.1.tar.gz
- Upload date:
- Size: 84.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ba8170ad20736908c91b0338950fa0b99610e579f169444cb24dcba30b0957
|
|
| MD5 |
34b95eac2717529fdbed347d09fc15a9
|
|
| BLAKE2b-256 |
3bea4f34b246bf469c5409e7421fe159b267cde6d1f29fdef78ed70f9d0c21a7
|