{
  "id": "pry",
  "name": "Pry",
  "homepage": "https://pry.github.io",
  "description": "A runtime developer console and IRB alternative with powerful introspection capabilities.",
  "icon": "https://pry.github.io/images/pry_logo.png",
  "executables": [
    "pry"
  ],
  "dotfiles": {
    "paths": [
      "~/.pryrc",
      "[configHome]/pry/pryrc"
    ],
    "exclude": [
      "~/.pry_history",
      "[xdgData]/pry/pry_history"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Start a Pry session",
    "description": "Start Pry with optional startup code, requires and display switches. Plugin selection and load-path options are left out.",
    "quality": "ai-draft",
    "base": "fig:pry",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/pry.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "exec",
        "label": "Code to run first",
        "description": "Ruby executed in context before the session starts.",
        "type": "string",
        "option": [
          "--exec",
          "-e"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "require",
        "label": "Require script",
        "description": "Ruby script or gem to require at startup.",
        "type": "string",
        "option": [
          "--require",
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "context",
        "label": "Start context",
        "description": "Start the session in this object context.",
        "type": "string",
        "option": [
          "--context",
          "-c"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_pager",
        "label": "Disable pager",
        "type": "boolean",
        "option": [
          "--no-pager"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_history",
        "label": "Skip history",
        "type": "boolean",
        "option": [
          "--no-history"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_color",
        "label": "No syntax highlighting",
        "type": "boolean",
        "option": [
          "--no-color"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_plugins",
        "label": "No plugins",
        "type": "boolean",
        "option": [
          "--no-plugins"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "simple_prompt",
        "label": "Simple prompt",
        "type": "boolean",
        "option": [
          "--simple-prompt"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_pryrc",
        "label": "Skip pryrc",
        "description": "Suppress loading of pryrc.",
        "type": "boolean",
        "option": [
          "-f"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "plain",
        "label": "Plain session",
        "fields": [
          "no_pager",
          "no_history",
          "no_color",
          "simple_prompt"
        ],
        "required": []
      },
      {
        "id": "with-require",
        "label": "Session with a library",
        "fields": [
          "require",
          "exec"
        ],
        "required": [
          "require"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "exec",
          "require",
          "context",
          "simple_prompt"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "no_pager",
          "no_history",
          "no_color",
          "no_plugins",
          "no_pryrc"
        ]
      }
    ]
  }
}
