From f58b3b37b20f2d4a5cf677f1744c10d02cdff5fc Mon Sep 17 00:00:00 2001 From: Maciej Krok Date: Mon, 19 Sep 2016 16:46:27 +0200 Subject: [PATCH] start --- thingspy/Project.py | 8 ++++++++ thingspy/ToDo.py | 6 ++++++ thingspy/things | 19 +++++++++++++++++++ thingspy/things.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 thingspy/Project.py create mode 100644 thingspy/ToDo.py create mode 100755 thingspy/things create mode 100644 thingspy/things.py diff --git a/thingspy/Project.py b/thingspy/Project.py new file mode 100644 index 0000000..96235c5 --- /dev/null +++ b/thingspy/Project.py @@ -0,0 +1,8 @@ + +from ToDo import ToDo + +class Project(ToDo): + + def __init__(self,dict): + ToDo.__init__(self,dict) + return \ No newline at end of file diff --git a/thingspy/ToDo.py b/thingspy/ToDo.py new file mode 100644 index 0000000..0827818 --- /dev/null +++ b/thingspy/ToDo.py @@ -0,0 +1,6 @@ + + +class ToDo: + def __init__(self, dict): + self.plist = dict + return \ No newline at end of file diff --git a/thingspy/things b/thingspy/things new file mode 100755 index 0000000..7054d5b --- /dev/null +++ b/thingspy/things @@ -0,0 +1,19 @@ +#!/bin/bash + + +echo test + +osascript <' + sys.exit(2) + for opt, arg in opts: + if opt == '-h': + print sys.argv[0]+' --to-add= ' + sys.exit() + elif opt in ("-a", "--to-add"): + self.toAddFile = arg + + + + +if __name__ == "__main__": + obj = thingspy(); + obj.main(sys.argv[1:]) \ No newline at end of file