Skip to content

Commit

Permalink
Add missing help text for get command
Browse files Browse the repository at this point in the history
  • Loading branch information
giftig committed Feb 18, 2023
1 parent 0f494be commit 0b37226
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion s3_browser/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
"""
))
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0b37226

Please sign in to comment.