diff options
| author | 2022-03-09 00:01:36 +0530 | |
|---|---|---|
| committer | 2022-03-09 00:01:36 +0530 | |
| commit | 5e552e7b007f8b13bd3edb221cb162414bac6f03 (patch) | |
| tree | 4f23442b6d594602b4bdff610255e75357a7a90d /src/bin/watcher | |
| parent | 994d2a2a25a32a003660c61cb9600f22475c76a8 (diff) | |
| download | shopno-os-log-sync-5e552e7b007f8b13bd3edb221cb162414bac6f03.tar.gz shopno-os-log-sync-5e552e7b007f8b13bd3edb221cb162414bac6f03.zip | |
initializing project with bare minimal features
Diffstat (limited to 'src/bin/watcher')
| -rwxr-xr-x | src/bin/watcher | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/bin/watcher b/src/bin/watcher new file mode 100755 index 0000000..9be5779 --- /dev/null +++ b/src/bin/watcher @@ -0,0 +1,27 @@ +#!/usr/bin/python + +## watcher --start == will starts the process of making csv +# watcher --daily == will give you your day overview till that point +# watcher --week == will gives user their week overview of screen time + +import os +import sys +sys.path.insert(0, "/usr/share/Watcher/") + +import log_files as x +#import report_creation + +# +arg = sys.argv[1] +if arg == "-ds": + a = os.popen('''python3 /usr/share/Watcher/report_creation.py''').read() + print(a) + +#elif arg == "daily": +# print("daily summary") +#def main() -> None: + ... + +#if __name__ == "__main__": +# main() + |
