{
  "name": "tailcall",
  "description": "TailCall CLI for managing and optimizing GraphQL configurations",
  "subcommands": [
    {
      "name": "check",
      "description": "Validate a composition spec",
      "options": [
        {
          "names": [
            "--n-plus-one-queries"
          ],
          "description": "Detect N+1 issues",
          "isPersistent": true
        },
        {
          "names": [
            "--schema"
          ],
          "description": "Display the schema of the composition spec",
          "isPersistent": true
        },
        {
          "names": [
            "--format"
          ],
          "description": "Change the format of the input file",
          "args": [
            {
              "suggestions": [
                "gql",
                "graphql",
                "yml",
                "yaml",
                "json"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "FILE_PATHS",
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "start",
      "description": "Launch the GraphQL Server for the specific configuration",
      "args": [
        {
          "name": "PATHS",
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "init",
      "description": "Bootstrap a new TailCall project",
      "args": [
        {
          "name": "FILE_PATH",
          "template": "folders"
        }
      ]
    },
    {
      "name": "gen",
      "description": "Generate GraphQL configurations from various sources",
      "args": [
        {
          "name": "CONFIG_FILE",
          "template": "filepaths"
        }
      ]
    }
  ]
}
