id = "cadaver"
name = "cadaver"
homepage = "https://github.com/notroj/cadaver"
description = "cadaver - A command-line WebDAV client for Unix."
executables = ["cadaver"]
[dotfiles]
paths = ["~/.cadaverrc"]
secret = ["~/.netrc"]
[commands]
format = 1
label = "Open WebDAV collection"
description = "Start an interactive cadaver session against a WebDAV URL. Commands typed inside the session (ls, put, get ...) are not part of this form."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true }
[[commands.source]]
id = "help"
kind = "manual"
url = "https://manpages.debian.org/unstable/cadaver/cadaver.1.en.html"
revision = "2026-10-27"
evidence = """
The URL passed must be an absolute URI using the http: or
https URL scheme.
-t, --tolerant
Allow cd/open into non-WebDAV enabled collection; use if the server or
proxy server has WebDAV compliance problems.
-r, --rcfile=file
Use this rcfile rather than the default of ~/.cadaverrc
-p, --proxy=host[:port]
Connect using the proxy host "host" and optional proxy port
"port".
"""
[[commands.field]]
id = "url"
label = "WebDAV URL"
description = "Absolute http: or https: URL."
type = "url"
position = 0
sources = ["help"]
[[commands.field]]
id = "tolerant"
label = "Tolerate non-WebDAV collections"
type = "boolean"
option = ["--tolerant", "-t"]
sources = ["help"]
[[commands.field]]
id = "rcfile"
label = "Alternate rcfile"
type = "path"
path = { kind = "file", role = "input" }
option = ["--rcfile", "-r"]
sources = ["help"]
[[commands.field]]
id = "proxy"
label = "Proxy"
description = "host or host:port."
type = "string"
option = ["--proxy", "-p"]
sources = ["help"]
[[commands.task]]
id = "open"
label = "Open a WebDAV URL"
fields = ["url", "tolerant", "proxy"]
required = ["url"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["url", "tolerant", "rcfile", "proxy"]