{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Vitruvio: Baixar e Extrair ZIP",
      "type": "shell",
      "command": "bash",
      "args": [
        "${workspaceFolder}/.vscode/automatizadores/sync_vitruvio_zip.sh",
        "${workspaceFolder}/Vitruvio",
        "https://vitruvio.superverdemar.com.br/rest/api/integration/public/base_vitruvio_ia"
      ],
      "windows": {
        "command": "powershell",
        "args": [
          "-NoLogo",
          "-NoProfile",
          "-ExecutionPolicy",
          "Bypass",
          "-File",
          "${workspaceFolder}\\.vscode\\automatizadores\\sync_vitruvio_zip.ps1",
          "${workspaceFolder}\\Vitruvio",
          "https://vitruvio.superverdemar.com.br/rest/api/integration/public/base_vitruvio_ia"
        ]
      },
      "group": "build",
      "problemMatcher": []
    },
    {
      "label": "Workspace: Bootstrap Base",
      "type": "shell",
      "command": "bash",
      "args": [
        "${workspaceFolder}/.vscode/automatizadores/bootstrap-workspace.sh",
        "${input:bootstrapWorkspaceTarget}"
      ],
      "windows": {
        "command": "powershell",
        "args": [
          "-NoLogo",
          "-NoProfile",
          "-ExecutionPolicy",
          "Bypass",
          "-File",
          "${workspaceFolder}\\.vscode\\automatizadores\\bootstrap-workspace.ps1",
          "${input:bootstrapWorkspaceTarget}"
        ]
      },
      "group": "build",
      "problemMatcher": []
    },
    {
      "label": "Workspace: Bootstrap Base (Forcar)",
      "type": "shell",
      "command": "bash",
      "args": [
        "${workspaceFolder}/.vscode/automatizadores/bootstrap-workspace.sh",
        "${input:bootstrapWorkspaceTarget}",
        "--force"
      ],
      "windows": {
        "command": "powershell",
        "args": [
          "-NoLogo",
          "-NoProfile",
          "-ExecutionPolicy",
          "Bypass",
          "-File",
          "${workspaceFolder}\\.vscode\\automatizadores\\bootstrap-workspace.ps1",
          "${input:bootstrapWorkspaceTarget}",
          "-Force"
        ]
      },
      "group": "build",
      "problemMatcher": []
    }
  ],
  "inputs": [
    {
      "id": "bootstrapWorkspaceTarget",
      "type": "promptString",
      "description": "Diretorio absoluto ou relativo onde o workspace base sera criado",
      "default": "../davinti-template"
    }
  ]
}
