diff options
Diffstat (limited to 'clusterman/config.py')
| -rw-r--r-- | clusterman/config.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clusterman/config.py b/clusterman/config.py new file mode 100644 index 0000000..04cac10 --- /dev/null +++ b/clusterman/config.py @@ -0,0 +1,9 @@ +from pathlib import Path +import os, json + +class Config: + CONF_DIR=os.path.join(os.environ['HOME'],".clusterman/") + + def __init__(self): + Path(self.CONF_DIR).mkdir(parents=True, exist_ok=True) + print(self.CONF_DIR) |
