From ec08bf71abdcd5ce45238199d2bc1048d2098327 Mon Sep 17 00:00:00 2001 From: Sebastian Lenzlinger Date: Sun, 5 May 2024 17:54:21 +0200 Subject: [PATCH] Refactor subcommands, config etc. --- .idea/workspace.xml | 42 +++++----- code/iottb/__main__.py | 4 +- code/iottb/definitions.py | 5 +- code/iottb/models/capture_metadata_model.py | 2 +- code/iottb/models/device_metadata_model.py | 1 + code/iottb/subcommands/add_device.py | 59 ++++++++++++++ code/iottb/subcommands/capture.py | 88 +++++++++++---------- code/iottb/subcommands/init.py | 40 ---------- 8 files changed, 135 insertions(+), 106 deletions(-) create mode 100644 code/iottb/subcommands/add_device.py delete mode 100644 code/iottb/subcommands/init.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 141240e..60695e5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,26 +4,15 @@