From 59df5a03c78fea1377a95aebbc04664034894cb2 Mon Sep 17 00:00:00 2001 From: "Maxence G. de Montauzan" Date: Fri, 13 Jul 2018 01:10:49 +0200 Subject: [PATCH] Utils scripts --- init.sh | 16 ++++++++++++++++ lint.sh | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 init.sh create mode 100644 lint.sh diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..cde2800 --- /dev/null +++ b/init.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +rm pits.db +python3.6 pits.py init +python3.6 pits.py p -c 'one' +python3.6 pits.py p -c 'two' +python3.6 pits.py t -c 'test task one' +python3.6 pits.py t -c 'test task two' +python3.6 pits.py n -c 'test note one' +python3.6 pits.py n -c 'test note two' + +python3.6 pits.py p -e -s 'new status' -n 'new name' +python3.6 pits.py p -e -n 'second name' + +python3.6 pits.py t -e -n 'new task name' +python3.6 pits.py t -e -n 'second name' -p 'high' -s 'wip' diff --git a/lint.sh b/lint.sh new file mode 100644 index 0000000..e247be4 --- /dev/null +++ b/lint.sh @@ -0,0 +1,2 @@ +#!/bin/bash +python3.6 -m pylint --disable=C pits.py project.py task.py note.py action.py args.py