{
  "id": "graphcdn",
  "name": "GraphCDN",
  "description": "Command-line interface for GraphCDN, a CDN for GraphQL APIs.",
  "executables": [
    "graphcdn"
  ],
  "commands": {
    "format": 1,
    "label": "GraphCDN",
    "description": "Initialise a service and push configuration.",
    "quality": "ai-draft",
    "base": "fig:graphcdn",
    "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/graphcdn.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "init"
        ],
        "label": "Create a service",
        "description": "Create a new GraphCDN service.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/graphcdn.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "yes",
            "label": "Skip questions",
            "description": "Skip all the questions and just init.",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Init",
            "fields": [
              "yes"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "yes"
            ]
          }
        ]
      },
      {
        "path": [
          "push"
        ],
        "label": "Push configuration",
        "description": "Push and deploy the latest app configuration.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/graphcdn.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "field",
            "label": "Part to push",
            "description": "Leave empty for everything.",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "schema",
                "label": "Schema"
              },
              {
                "value": "rules",
                "label": "Rules"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "env",
            "label": "Environment",
            "type": "string",
            "option": [
              "--env"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "push",
            "label": "Push",
            "fields": [
              "field",
              "env"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "field",
              "env"
            ]
          }
        ]
      }
    ]
  }
}
