From 0b372266c371a0707aebc421647ad9f6ae101afc Mon Sep 17 00:00:00 2001 From: Rob Moore Date: Sat, 18 Feb 2023 17:19:09 +0000 Subject: [PATCH] Add missing help text for get command --- s3_browser/cli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/s3_browser/cli.py b/s3_browser/cli.py index 5ed760d..d6c18ea 100755 --- a/s3_browser/cli.py +++ b/s3_browser/cli.py @@ -291,6 +291,7 @@ def help(self): cd [path] Change directory clear Clear the screen file [key] Show extended metadata about a given key + get [s3] [local] Download an S3 key to local disk head [key] Alias for file ll [path] Like ls, but show modified times and object types ls [path] List the contents of an s3 "directory" @@ -302,6 +303,9 @@ def help(self): Tab completion is available for most commands. + Most commands support the --help flag to see full usage + information, e.g. cat --help + Command history is available (stored in ~/.s3_browser_history) """ )) @@ -331,9 +335,9 @@ def _ll(*args): return self.ls('-1', *args) func = { - 'cd': self.cd, 'bookmark': self.bookmark, 'cat': self.cat, + 'cd': self.cd, 'clear': lambda: os.system('clear'), 'exit': self.exit, 'file': self.print_head_data,