Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
cdc4247b
Commit
cdc4247b
authored
Jan 29, 2013
by
Stavros Sachtouris
Browse files
-R as resursive in store_download
parent
ff07e033
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/commands/pithos_cli.py
View file @
cdc4247b
...
...
@@ -989,7 +989,7 @@ class store_cat(_store_container_command):
class
store_download
(
_store_container_command
):
"""Download remote object as local file
If local destination is a directory:
* download <container>:<path> <local dir> -
-resursive
* download <container>:<path> <local dir> -
r
will download all files on <container> prefixed as <path>,
to <local dir>/<full path>
* download <container>:<path> <local dir> --exact-match
...
...
@@ -1022,7 +1022,7 @@ class store_download(_store_container_command):
default
=
False
),
recursive
=
FlagArgument
(
'Download a remote directory and all its contents'
,
'--resursive'
)
'
-r,
--resursive'
)
)
def
_is_dir
(
self
,
remote_dict
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment