{
  "operations": [
    {
      "operation": "create",
      "templateFile": "graphql-content-resolver.ex",
      "createFile": "<%- _.snakeCase(Name) %>.ex"
    },
    {
      "operation": "insert",
      "marker": "~~~ MARKER HERE~~~",
      "templateFile": "graphql-content-resolver.ex",
      "insertIntoFile": "<%- GitProjectRoot %>/"
    },
    {
      "operation": "createFolder",
      "path": "<%- GitProjectRoot %>/api/lib"
    }
  ],
  "questions": [
    {
      "name": "GraphQLContentFile",
      "type": "markerfiles",
      "path": "<%- GitProjectRoot %>/api/lib/graphql/content",
      "marker": "~~~ MARKER HERE ~~~",
      "message": "Message for file select here"
    },
    {
      "name": "Name",
      "type": "input",
      "default": "<SPECIFYNAMEHERE>",
      "message": "What is the Name of the GraphQL Type/Elixir Module (in CamelCaps) ?"
    },
    {
      "name": "NameSpace",
      "type": "input",
      "default": "",
      "message": "What is the namespace of the GraphQL Type?\nExample : TitanApi.GraphQL.Content.[NameSpace].Name"
    },
    {
      "name": "ExampleResolvers",
      "type": "checkbox",
      "choices": ["Empty Resolver", "Link Resolver"],
      "message": "Choose the default implementations you would like in your template."
    }
  ]
}
