{
  "name": "leaf",
  "description": "Create and interact with your leaf projects",
  "subcommands": [
    {
      "name": "completion",
      "description": "Dump the shell completion script"
    },
    {
      "name": "create",
      "description": "[init] Create a new Leaf PHP project",
      "args": [
        {
          "name": "project name",
          "description": "Name of the project"
        }
      ]
    },
    {
      "name": "deploy",
      "description": "[publish] Deploy your leaf project"
    },
    {
      "name": "help",
      "description": "Display help for a command"
    },
    {
      "name": "install",
      "description": "Add a new package to your leaf app",
      "args": [
        {
          "name": "package name",
          "description": "Name of the package"
        }
      ]
    },
    {
      "name": "interact",
      "description": "Interact with your application"
    },
    {
      "name": "list",
      "description": "List commands"
    },
    {
      "name": "run",
      "description": "Run a script in your composer.json",
      "args": [
        {
          "name": "command name",
          "description": "Name of the command"
        }
      ]
    },
    {
      "name": "serve",
      "description": "Run your Leaf app",
      "options": [
        {
          "names": [
            "--port"
          ],
          "description": "The port number to run the server on",
          "takes_arg": true,
          "arg": {
            "name": "port number",
            "description": "The port number to run the server on"
          }
        },
        {
          "names": [
            "--watch"
          ],
          "description": "Watch for changes and restart the server"
        }
      ]
    },
    {
      "name": "test",
      "description": "Test your leaf application through leaf alchemy"
    },
    {
      "name": "test:setup",
      "description": "Add tests to your application"
    },
    {
      "name": "uninstall",
      "description": "Uninstall a package",
      "args": [
        {
          "name": "package name",
          "description": "Name of the package"
        }
      ]
    },
    {
      "name": "update",
      "description": "Update leaf cli to the latest version"
    }
  ],
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help for the given command. When no command is given display help for the list command"
    },
    {
      "names": [
        "-q",
        "--quiet"
      ],
      "description": "Do not output any message"
    },
    {
      "names": [
        "-V",
        "--version"
      ],
      "description": "Display this application version"
    },
    {
      "names": [
        "--ansi"
      ],
      "description": "Force ANSI output"
    },
    {
      "names": [
        "--no-ansi"
      ],
      "description": "Disable ANSI output"
    },
    {
      "names": [
        "-n",
        "--no-interaction"
      ],
      "description": "Do not ask any interactive question"
    },
    {
      "names": [
        "-v",
        "--verbose"
      ],
      "description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug"
    }
  ]
}
