{
  "name": "graphcdn",
  "description": "GraphCDN CLI",
  "subcommands": [
    {
      "name": "login",
      "description": "Authenticate the CLI",
      "options": [
        {
          "names": [
            "--token"
          ],
          "takes_arg": true,
          "arg": {
            "name": "token"
          }
        },
        {
          "names": [
            "--help",
            "-h"
          ]
        }
      ]
    },
    {
      "name": "init",
      "description": "Create a new GraphCDN service",
      "options": [
        {
          "names": [
            "-y",
            "--yes"
          ],
          "description": "Skip all the questions and just init"
        },
        {
          "names": [
            "--help",
            "-h"
          ]
        }
      ]
    },
    {
      "name": "pull",
      "description": "Pull the latest service configuration",
      "options": [
        {
          "names": [
            "--service"
          ],
          "description": "Name of the service to pull from (only required without graphcdn.yml)",
          "takes_arg": true,
          "arg": {
            "name": "service",
            "description": "Name of the environment to pull from"
          }
        },
        {
          "names": [
            "--env"
          ],
          "takes_arg": true,
          "arg": {
            "name": "env"
          }
        },
        {
          "names": [
            "--help",
            "-h"
          ]
        }
      ]
    },
    {
      "name": "push",
      "description": "Push and deploy the latest app configuration",
      "options": [
        {
          "names": [
            "--env"
          ],
          "takes_arg": true,
          "arg": {
            "name": "env"
          }
        },
        {
          "names": [
            "--help",
            "-h"
          ]
        }
      ],
      "args": [
        {
          "name": "field",
          "suggestions": [
            "schema",
            "rules"
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ]
    }
  ]
}
