{
    "content": [
        {
            "type": "text",
            "text": "# bundle-add (man)\n\n## NAME\n\nbundle-add - Add gem to the Gemfile and run bundle install\n\n## SYNOPSIS\n\nbundle  add  GEMNAME  [--group=GROUP]  [--version=VERSION]  [--source=SOURCE]  [--path=PATH]\n[--git=GIT]  [--github=GITHUB]  [--branch=BRANCH]  [--ref=REF]  [--skip-install]   [--strict]\n[--optimistic]\n\n## DESCRIPTION\n\nAdds  the  named  gem to the Gemfile and run bundle install. bundle install can be avoided by\nusing the flag --skip-install.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (5 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "bundle-add",
        "section": "",
        "mode": "man",
        "summary": "bundle-add - Add gem to the Gemfile and run bundle install",
        "synopsis": "bundle  add  GEMNAME  [--group=GROUP]  [--version=VERSION]  [--source=SOURCE]  [--path=PATH]\n[--git=GIT]  [--github=GITHUB]  [--branch=BRANCH]  [--ref=REF]  [--skip-install]   [--strict]\n[--optimistic]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": "--github",
                "arg": null,
                "description": "Specify the github source for the added gem."
            },
            {
                "flag": "",
                "long": "--branch",
                "arg": null,
                "description": "Specify the git branch for the added gem. --ref Specify the git ref for the added gem."
            },
            {
                "flag": "",
                "long": "--skip-install",
                "arg": null,
                "description": "Adds the gem to the Gemfile but does not install it."
            },
            {
                "flag": "",
                "long": "--optimistic",
                "arg": null,
                "description": "Adds optimistic declaration of version."
            },
            {
                "flag": "",
                "long": "--strict",
                "arg": null,
                "description": "Adds strict declaration of version. August 2023 BUNDLE-ADD(1)"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 16,
                "subsections": [
                    {
                        "name": "--github",
                        "lines": 2,
                        "long": "--github"
                    },
                    {
                        "name": "--branch",
                        "lines": 4,
                        "long": "--branch"
                    },
                    {
                        "name": "--skip-install",
                        "lines": 2,
                        "long": "--skip-install"
                    },
                    {
                        "name": "--optimistic",
                        "lines": 2,
                        "long": "--optimistic"
                    },
                    {
                        "name": "--strict",
                        "lines": 4,
                        "long": "--strict"
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "bundle-add - Add gem to the Gemfile and run bundle install\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "bundle  add  GEMNAME  [--group=GROUP]  [--version=VERSION]  [--source=SOURCE]  [--path=PATH]\n[--git=GIT]  [--github=GITHUB]  [--branch=BRANCH]  [--ref=REF]  [--skip-install]   [--strict]\n[--optimistic]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Adds  the  named  gem to the Gemfile and run bundle install. bundle install can be avoided by\nusing the flag --skip-install.\n\nExample:\n\nbundle add rails\n\nbundle add rails --version \"< 3.0, > 1.1\"\n\nbundle add rails --version \"~> 5.0.0\" --source \"https://gems.example.com\"  --group  \"develop‐\nment\"\n\nbundle add rails --skip-install\n\nbundle add rails --group \"development, test\"\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "--version, -v\nSpecify version requirements(s) for the added gem.\n\n--group, -g\nSpecify the group(s) for the added gem. Multiple groups should be separated by commas.\n\n--source, -s\nSpecify the source for the added gem.\n\n--require, -r\nAdds require path to gem. Provide false, or a path as a string.\n\n--path Specify the file system path for the added gem.\n\n--git  Specify the git source for the added gem.\n",
                "subsections": [
                    {
                        "name": "--github",
                        "content": "Specify the github source for the added gem.\n",
                        "long": "--github"
                    },
                    {
                        "name": "--branch",
                        "content": "Specify the git branch for the added gem.\n\n--ref  Specify the git ref for the added gem.\n",
                        "long": "--branch"
                    },
                    {
                        "name": "--skip-install",
                        "content": "Adds the gem to the Gemfile but does not install it.\n",
                        "long": "--skip-install"
                    },
                    {
                        "name": "--optimistic",
                        "content": "Adds optimistic declaration of version.\n",
                        "long": "--optimistic"
                    },
                    {
                        "name": "--strict",
                        "content": "Adds strict declaration of version.\n\n\nAugust 2023                               BUNDLE-ADD(1)",
                        "long": "--strict"
                    }
                ]
            }
        }
    }
}