Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
cd7cf914
Commit
cd7cf914
authored
Aug 20, 2019
by
André Anjos
💬
Browse files
[scripts/dav] Remove free command (not working)
parent
e3b81d9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/devtools/scripts/dav.py
View file @
cd7cf914
...
...
@@ -271,31 +271,3 @@ def upload(private, execute, local, remote):
echo_info
(
'cp %s %s'
%
(
k
,
remote_path
))
if
execute
:
cl
.
upload_file
(
local_path
=
k
,
remote_path
=
actual_remote
)
@
dav
.
command
(
epilog
=
"""
Examples:
1. Lists the amount of free disk space on the WebDAV server:
$ bdt dav -vv free
"""
)
@
click
.
option
(
"-p"
,
"--private/--no-private"
,
default
=
False
,
help
=
"If set, use the 'private' area instead of the public one"
,
)
@
verbosity_option
()
@
bdt
.
raise_on_error
def
free
(
private
):
"""Lists the amount of free space on the webserver disk
"""
cl
=
setup_webdav_client
(
private
)
echo_info
(
'free'
)
data
=
cl
.
free
()
echo_normal
(
data
)
setup.py
View file @
cd7cf914
...
...
@@ -92,7 +92,6 @@ setup(
'makedirs = bob.devtools.scripts.dav:makedirs'
,
'rmtree = bob.devtools.scripts.dav:rmtree'
,
'upload = bob.devtools.scripts.dav:upload'
,
#'free = bob.devtools.scripts.dav:free',
],
},
...
...
Write
Preview
Supports
Markdown
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