id = "slumber"
name = "Slumber"
homepage = "https://slumber.lucaspickering.me/"
description = "Terminal-based HTTP/REST client"
executables = ["slumber"]
[dotfiles]
paths = [
"[configHome]/slumber/config.yml",
"~/Library/Application Support/slumber/config.yml",
"%APPDATA%/slumber/config.yml",
"~/.local/share/slumber/config.yml",
]
secret = []
[commands]
format = 1
label = "Send a request"
description = "Send one request recipe from the current collection. Overrides, output formats and other subcommands are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.subcommand]]
path = ["request"]
label = "Send a request"
description = "Send a recipe from slumber.yml; the shorter alias rq is not used."
[[commands.subcommand.source]]
id = "slumber-docs"
kind = "manual"
url = "https://slumber.lucaspickering.me/user_guide/cli/subcommands.html"
revision = "docs 2026-10"
evidence = '''slumber request
Send an HTTP request.
slumber request --profile production list_fishes
slumber rq -p production list_fishes # rq is a shorter alias
If you want to set the exit code based on the HTTP response status, use the flag --exit-code.'''
[[commands.subcommand.field]]
id = "recipe"
label = "Recipe"
type = "string"
position = 0
min = 1
sources = ["slumber-docs"]
[[commands.subcommand.field]]
id = "profile"
label = "Profile"
type = "string"
option = ["--profile", "-p"]
sources = ["slumber-docs"]
[[commands.subcommand.field]]
id = "exit_code"
label = "Exit non-zero on HTTP status >= 400"
type = "boolean"
option = ["--exit-code"]
sources = ["slumber-docs"]
[[commands.subcommand.task]]
id = "send"
label = "Send a recipe"
fields = ["recipe", "profile"]
required = ["recipe"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["recipe", "profile", "exit_code"]