From 0aa2b12d239d8b9a0a5dc72e8f2aa3ca4c123528 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Sun, 23 Aug 2020 13:48:40 +0200 Subject: [PATCH] added create project and task method stubs --- console-gui.py | 8 +++++++- readme.md | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/console-gui.py b/console-gui.py index f4392b7..f8091ae 100644 --- a/console-gui.py +++ b/console-gui.py @@ -67,6 +67,7 @@ class Task: self.desc = desc +# TODO maybe get rid of this enum and just use a number class Status(Enum): WORKING = 0 IDLE = 1 @@ -89,7 +90,6 @@ class Status(Enum): print("next is {}".format(Status(v))) return Status(v) -# TODO maybe get rid of this enum and just use a number class SelectedWindow(Enum): PROJECTS = 1 TASKS = 2 @@ -108,6 +108,12 @@ def load(): temp_project.addTask(Task("Example task", "This is an example of a task description.\nIt can be used to provide some extra information about the task.")) return [temp_project] +def create_project(projects: list): + pass + +def create_task(project): + pass + def get_x_pos_center(text: str): return curses.COLS // 2 - len(text) // 2 diff --git a/readme.md b/readme.md index 02dd7d6..af412a2 100644 --- a/readme.md +++ b/readme.md @@ -21,4 +21,5 @@ It gives a neat presentation of all your projects, which you can assign tasks to Download the file from the [releases page](https://github.com/SemvdH/terminal-project-management/releases) and run `python console-gui.py` # Usage +https://github.com/lukesampson/scoop/wiki/Creating-an-app-manifest