{
  "id": "suitecloud",
  "name": "SuiteCloud CLI for Node.js",
  "homepage": "https://github.com/oracle/netsuite-suitecloud-sdk",
  "description": "A SuiteCloud SDK tool to manage SuiteCloud project components and validate and deploy projects to your account.",
  "icon": "https://raw.githubusercontent.com/oracle/netsuite-suitecloud-sdk/master/packages/vscode-extension/resources/extension_icon_dark.png",
  "executables": [
    "suitecloud"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [
      "~/.suitecloud-sdk/cli/",
      "~/.suitecloud-sdk/log/",
      "~/.suitecloud-sdk/suitecloud-sdk-settings.json"
    ],
    "secret": [
      "~/.suitecloud-sdk/credentials_browser_based.p12",
      "~/.suitecloud-sdk/credentials_ci.p12",
      "~/.suitecloud-sdk/client_api_key.p12"
    ]
  },
  "commands": {
    "format": 1,
    "label": "SuiteCloud project commands",
    "description": "Deploy or validate a SuiteCloud project. Account, object and file commands are left out.",
    "quality": "ai-draft",
    "base": "fig:suitecloud",
    "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/suitecloud.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "project:deploy"
        ],
        "label": "Deploy project",
        "description": "Deploy the project folder to the account.",
        "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/suitecloud.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "interactive",
            "label": "Interactive mode",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dryrun",
            "label": "Dry run",
            "description": "Preview the deploy without deploying.",
            "type": "boolean",
            "option": [
              "--dryrun"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "validate",
            "label": "Validate first",
            "type": "boolean",
            "option": [
              "--validate"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "log",
            "label": "Log location",
            "type": "path",
            "option": [
              "--log"
            ],
            "path": {
              "kind": "any",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "accountspecificvalues",
            "label": "Account-specific values",
            "type": "string",
            "option": [
              "--accountspecificvalues"
            ],
            "suggestions": [
              {
                "value": "ERROR",
                "label": "ERROR"
              },
              {
                "value": "WARNING",
                "label": "WARNING"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "applyinstallprefs",
            "label": "Apply install preferences",
            "description": "Only applies to SuiteApps.",
            "type": "boolean",
            "option": [
              "--applyinstallprefs",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "deploy",
            "label": "Deploy",
            "fields": [
              "interactive",
              "validate",
              "log"
            ],
            "required": []
          },
          {
            "id": "preview",
            "label": "Preview deploy",
            "set": {
              "dryrun": [
                true
              ]
            },
            "lock": [
              "dryrun"
            ],
            "fields": [
              "dryrun",
              "validate"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "interactive",
              "dryrun",
              "validate"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "log",
              "accountspecificvalues",
              "applyinstallprefs"
            ]
          }
        ]
      },
      {
        "path": [
          "project:validate"
        ],
        "label": "Validate project",
        "description": "Validate the project folder.",
        "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/suitecloud.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "interactive",
            "label": "Interactive mode",
            "type": "boolean",
            "option": [
              "--interactive",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "server",
            "label": "Validate on server",
            "type": "boolean",
            "option": [
              "--server"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "log",
            "label": "Log location",
            "type": "path",
            "option": [
              "--log"
            ],
            "path": {
              "kind": "any",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "accountspecificvalues",
            "label": "Account-specific values",
            "type": "string",
            "option": [
              "--accountspecificvalues"
            ],
            "suggestions": [
              {
                "value": "ERROR",
                "label": "ERROR"
              },
              {
                "value": "WARNING",
                "label": "WARNING"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "applyinstallprefs",
            "label": "Apply install preferences",
            "description": "Only applies to SuiteApps.",
            "type": "boolean",
            "option": [
              "--applyinstallprefs",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "validate",
            "label": "Validate",
            "fields": [
              "interactive",
              "server",
              "log"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "interactive",
              "server"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "log",
              "accountspecificvalues",
              "applyinstallprefs"
            ]
          }
        ]
      }
    ]
  }
}
