Skip to content
Snippets Groups Projects
Commit cd7cf914 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts/dav] Remove free command (not working)

parent e3b81d9e
No related branches found
No related tags found
1 merge request!99WebDAV support improvements
......@@ -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)
......@@ -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',
],
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment