Add beginning of archiver

This commit is contained in:
Serene-Arc
2021-03-13 20:18:30 +10:00
committed by Ali Parlakci
parent a93813ca45
commit 959b55a939
8 changed files with 198 additions and 5 deletions

View File

@@ -32,6 +32,9 @@ class Configuration(Namespace):
self.user: Optional[str] = None
self.verbose: int = 0
# Archiver-specific options
self.format = 'json'
def process_click_arguments(self, context: click.Context):
for arg_key in context.params.keys():
if arg_key in vars(self) and context.params[arg_key] is not None: