Using click instead of argparse in uncloud script

This commit is contained in:
ahmadbilalkhalid 2020-01-01 14:59:47 +05:00
commit cd2f0aaa0d
14 changed files with 279 additions and 20 deletions

View file

@ -67,7 +67,7 @@ def track_file(file, base_dir):
os.setxattr(file, "user.utracked", b"True")
def main():
def main(debug=False):
base_dir = settings["storage"]["file_dir"]
# Recursively Get All Files and Folder below BASE_DIR