{
  "name": "shadcn-ui",
  "description": "Shadcn UI CLI",
  "subcommands": [
    {
      "name": "add",
      "description": "Add a component to your project",
      "options": [
        {
          "names": [
            "-y",
            "--yes"
          ],
          "description": "Skip confirmation prompt"
        },
        {
          "names": [
            "-o",
            "--overwrite"
          ],
          "description": "Overwrite existing files"
        },
        {
          "names": [
            "-c",
            "--cwd"
          ],
          "description": "The working directory. defaults to the current directory",
          "args": [
            {
              "name": "cwd"
            }
          ]
        },
        {
          "names": [
            "-p",
            "--path"
          ],
          "description": "The path to add the component to",
          "args": [
            {
              "name": "path"
            }
          ]
        }
      ],
      "args": [
        {
          "name": "components",
          "description": "The components to add",
          "isVariadic": true
        }
      ]
    },
    {
      "name": "diff",
      "description": "Check for updates against the registry",
      "options": [
        {
          "names": [
            "-y",
            "--yes"
          ],
          "description": "Skip confirmation prompt"
        },
        {
          "names": [
            "-c",
            "--cwd"
          ],
          "description": "The working directory. defaults to the current directory",
          "args": [
            {
              "name": "cwd"
            }
          ]
        }
      ],
      "args": [
        {
          "name": "component",
          "description": "The component name"
        }
      ]
    },
    {
      "name": "init",
      "description": "Initialize your project and install dependencies",
      "options": [
        {
          "names": [
            "-y",
            "--yes"
          ],
          "description": "Skip confirmation prompt"
        },
        {
          "names": [
            "-c",
            "--cwd"
          ],
          "description": "The working directory. defaults to the current directory",
          "args": [
            {
              "name": "cwd"
            }
          ]
        }
      ]
    }
  ]
}
