Skip to content

Commit

Permalink
CLI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezrivera committed Aug 6, 2021
1 parent adb7dcd commit adcbcdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anchorage/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def main():
'type': 'list',
'name': 'archive',
'message': f'Choose an archiving method.',
'choices': ['Online', 'Local (ArchiveBox)'],
'choices': ['Online', 'Local'],
'filter': lambda n: n.split(' ')[0].lower()
}]

Expand Down Expand Up @@ -299,7 +299,7 @@ def main():
'type': 'list',
'name': 'loglevel',
'message': 'Enter the relative or full path of the archive directory.',
'choices': ['Full log output', 'Progress bar', 'Suppress all output'],
'choices': [' - Full log output', ' - Progress bar', ' - Suppress all output'],
'filter': lambda choice: {'Full log output' : 0,
'Progress bar' : 20,
'Suppress all output': 50}[choice]
Expand Down

0 comments on commit adcbcdb

Please sign in to comment.