id = "axel" name = "Axel" homepage = "https://github.com/axel-download-accelerator/axel" description = "Lightweight CLI download accelerator" executables = ["axel"] [dotfiles] # Axel's official source distribution ships axelrc.example with instructions # to copy it to ~/.axelrc for persistent user settings. # https://github.com/axel-download-accelerator/axel/blob/master/doc/axelrc.example paths = ["~/.axelrc"] secret = [] [[dotfiles.secret_paths]] file = "~/.axelrc" match = { prefix = ["proxy="] } [commands] format = 1 label = "Download file" description = "Download one file over several connections, optionally from mirror URLs. Mirror search, proxy and IP-version options are left out." quality = "ai-draft" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "man" kind = "manual" url = "https://manpages.debian.org/bookworm/axel/axel.1.en.html" revision = "bookworm" evidence = """ axel [OPTIONS] url1 [url2] [url...] --max-speed=x, -s x --num-connections=x, -n x --output=x, -o x --insecure, -k --no-clobber, -c --verbose, -v --quiet, -q --alternate, -a --header=x, -H x --user-agent=x, -U x --timeout=x, -T x """ [[commands.field]] id = "urls" label = "URL(s)" description = "One URL, or several mirrors of an identical file." type = "url" position = 0 multiple = true sources = ["man"] [[commands.field]] id = "output" label = "Output file or directory" type = "path" option = ["--output", "-o"] path = { kind = "any", role = "output" } effect = "overwrite" sources = ["man"] [[commands.field]] id = "connections" label = "Connections" type = "integer" option = ["--num-connections", "-n"] sources = ["man"] [[commands.field]] id = "max_speed" label = "Max speed (bytes/s)" type = "integer" option = ["--max-speed", "-s"] sources = ["man"] [[commands.field]] id = "header" label = "HTTP header" description = "Form: Header: Value." type = "string" option = ["--header", "-H"] sources = ["man"] [[commands.field]] id = "user_agent" label = "User agent" type = "string" option = ["--user-agent", "-U"] sources = ["man"] [[commands.field]] id = "timeout" label = "Timeout" type = "integer" option = ["--timeout", "-T"] sources = ["man"] [[commands.field]] id = "no_clobber" label = "Skip if file exists" type = "boolean" option = ["--no-clobber", "-c"] sources = ["man"] [[commands.field]] id = "alternate" label = "Alternate progress bar" type = "boolean" option = ["--alternate", "-a"] sources = ["man"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet", "-q"] sources = ["man"] [[commands.field]] id = "insecure" label = "Do not verify SSL certificate" type = "boolean" option = ["--insecure", "-k"] sources = ["man"] [[commands.task]] id = "download" label = "Download" fields = ["urls", "output", "connections"] required = ["urls"] [[commands.task]] id = "limited" label = "Download with speed limit" fields = ["urls", "output", "connections", "max_speed"] required = ["urls", "max_speed"] [[commands.group]] id = "basic" label = "Basic" fields = ["urls", "output", "connections", "max_speed", "no_clobber"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["header", "user_agent", "timeout", "alternate", "quiet", "insecure"]