{
  "id": "http-prompt",
  "name": "HTTP Prompt",
  "homepage": "https://http-prompt.com/",
  "description": "Interactive HTTP client",
  "executables": [
    "http-prompt"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/http-prompt/config.py",
      "%LOCALAPPDATA%/http-prompt/config.py"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Start an HTTP Prompt session",
    "description": "Start with an optional URL, environment file or OpenAPI spec. Inline HTTPie options after the URL are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "cli",
        "kind": "manual",
        "url": "https://github.com/httpie/http-prompt/blob/master/http_prompt/cli.py",
        "revision": "master 2026-10",
        "evidence": "@click.option('--spec', help='OpenAPI/Swagger specification file.',\n@click.option('--env', help='Environment file to preload.',\n@click.argument('url', default='')\n# Start with the given URL\n$ http-prompt http://httpbin.org\n"
      }
    ],
    "field": [
      {
        "id": "url",
        "label": "URL",
        "description": "Leave empty to resume the last session or use http://localhost:8000.",
        "type": "string",
        "position": 0,
        "sources": [
          "cli"
        ]
      },
      {
        "id": "env",
        "label": "Environment file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--env"
        ],
        "sources": [
          "cli"
        ]
      },
      {
        "id": "spec",
        "label": "OpenAPI spec",
        "description": "OpenAPI/Swagger specification file or URL.",
        "type": "string",
        "option": [
          "--spec"
        ],
        "sources": [
          "cli"
        ]
      }
    ],
    "task": [
      {
        "id": "start_url",
        "label": "Start at a URL",
        "fields": [
          "url"
        ],
        "required": [
          "url"
        ]
      },
      {
        "id": "start_env",
        "label": "Preload an environment file",
        "fields": [
          "env",
          "url"
        ],
        "required": [
          "env"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "url",
          "env",
          "spec"
        ]
      }
    ]
  }
}
