{
  "$schema": "https://json-schema.org/schema",
  "version": 2,
  "outputCapture": "direct-nodejs",
  "title": "Pulumi `import` Command Executor",
  "description": "Run the `import` command using the workspaces Pulumi IoC CLI",
  "type": "object",
  "properties": {
    "stack": {
      "type": "string",
      "description": "The target stack to use, if specified."
    },
    "root": {
      "type": "string",
      "description": "The working directory to run Pulumi commands from, if specified."
    },
    "target": {
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "name": {
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 1
      }
    },
    "id": {
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 2
      }
    }
  },
  "required": ["target", "id"]
}
