{
  "name": "suitecloud",
  "description": "SuiteCloud CLI",
  "subcommands": [
    {
      "name": "account:manageauth",
      "description": "Manages authentication IDs (authID) for all your projects. An authentication ID is a custom alias you gave to a specific account-role combination",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--info"
          ],
          "description": "Prints the following information for the specified authentication ID (authID): account ID, role ID, and url. Usage: account:manageauth --info {authID}",
          "takes_arg": true,
          "arg": {
            "name": "authID"
          }
        },
        {
          "names": [
            "--list"
          ],
          "description": "Prints a list of all the configured authentication IDs (authID). Usage: account:manageauth --list"
        },
        {
          "names": [
            "--remove"
          ],
          "description": "Removes an authentication ID (authID). Usage: account:manageauth --remove {authID}",
          "takes_arg": true,
          "arg": {
            "name": "authID"
          }
        },
        {
          "names": [
            "--rename"
          ],
          "description": "Renames an authentication ID (authID). You must specify it together with the renameto option. Usage: account:manageauth --rename {authID} --renameto {newauthID}",
          "takes_arg": true,
          "arg": {
            "name": "authID"
          }
        },
        {
          "names": [
            "--renameto"
          ],
          "description": "Specifies the new ID for an authentication ID (authID). You must specify it together with the rename option. Usage: account:manageauth --rename {authID} --renameto {newauthID}",
          "takes_arg": true,
          "arg": {
            "name": "authID"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "account:savetoken",
      "description": "Saves a TBA token that you issued previously in NetSuite",
      "options": [
        {
          "names": [
            "--account"
          ],
          "description": "Specifies the ID of the account to log in to",
          "takes_arg": true,
          "arg": {
            "name": "id"
          }
        },
        {
          "names": [
            "--authid"
          ],
          "description": "References the custom name you gave to a specific account-role combination",
          "takes_arg": true,
          "arg": {
            "name": "auth id"
          }
        },
        {
          "names": [
            "--tokenid"
          ],
          "description": "Specifies the token ID of a TBA token you issued previously in NetSuite",
          "takes_arg": true,
          "arg": {
            "name": "token id"
          }
        },
        {
          "names": [
            "--tokensecret"
          ],
          "description": "Specifies the token secret of a TBA token you issued previously in NetSuite",
          "takes_arg": true,
          "arg": {
            "name": "secret"
          }
        },
        {
          "names": [
            "--url"
          ],
          "description": "Specifies the NetSuite domain of the account you want to use. You only need to specify the NetSuite domain if you are not using a production account",
          "takes_arg": true,
          "arg": {
            "name": "domain"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "account:setup",
      "description": "Sets up an account to use with the SuiteCloud CLI for Node.js",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "-d",
            "--dev"
          ],
          "description": "Specifies the NetSuite domain of the account you want to use. You only need to specify the NetSuite domain if you are not using a production account"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "file:create",
      "description": "Creates a SuiteScript file",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--module"
          ],
          "description": "Specifies the SuiteScript modules you want to add to the SuiteScript file. For example, \"N/record\"",
          "takes_arg": true,
          "arg": {
            "name": "module"
          }
        },
        {
          "names": [
            "--path"
          ],
          "description": "Specifies the File Cabinet path of the SuiteScript file to create. For example, \"/SuiteScripts/ClientScipt.js\"",
          "takes_arg": true,
          "arg": {
            "name": "path"
          }
        },
        {
          "names": [
            "--type"
          ],
          "description": "Specifies the type of the SuiteScript file that you want to create. For example, \"ClientScript\"",
          "takes_arg": true,
          "arg": {
            "name": "type"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "file:import",
      "description": "Imports files from an account to your account customization project. You cannot import files from a SuiteApp",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--path"
          ],
          "description": "Specifies the File Cabinet paths of the files to import. For example, \"/SuiteScripts/file.js\"",
          "takes_arg": true,
          "arg": {
            "name": "path"
          }
        },
        {
          "names": [
            "--calledfromcomparefiles"
          ],
          "description": "Message displayed should be different if called from Compare Files"
        },
        {
          "names": [
            "--excludeproperties"
          ],
          "description": "Excludes all file properties within the .attributes folder"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "file:list",
      "description": "Lists the files in the File Cabinet of your account",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--folder"
          ],
          "description": "Specifies the File Cabinet path, for example, \"/SuiteScripts\". All files within subfolders are included",
          "takes_arg": true,
          "arg": {
            "name": "cabinet",
            "template": "folders"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "file:upload",
      "description": "Uploads files from your project to an account",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--paths"
          ],
          "description": "Specifies the file cabinet paths of the files to upload. To specify multiple paths, enter a space between paths and enclose the entire argument in double quotes. For example, \"/SuiteScripts/file.js\" f",
          "takes_arg": true,
          "arg": {
            "name": "files",
            "is_variadic": true,
            "template": "filepaths"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "object:import",
      "description": "Imports custom objects from your NetSuite account to the SuiteCloud project. In account customization projects (ACP), if SuiteScript files are referenced in the custom objects you import, these files ",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--appid"
          ],
          "description": "Specifies your application ID. If specified, only custom objects with that application ID are imported. Otherwise, only custom objects with no application ID are imported",
          "takes_arg": true,
          "arg": {
            "name": "app id"
          }
        },
        {
          "names": [
            "--destinationfolder"
          ],
          "description": "Specifies the project folder where objects will be stored. It must be within the Objects folder of your project. For example, /Objects/MyObjects"
        },
        {
          "names": [
            "--excludefiles"
          ],
          "description": "Indicates that the SuiteScript files referenced in custom objects are not imported. It can only be used in account customization projects (ACP)"
        },
        {
          "names": [
            "--scriptid"
          ],
          "description": "Specifies the script ID. To specify multiple IDs, enter the IDs separated by spaces. Enter \"ALL\" to import all custom objects of the specified type"
        },
        {
          "names": [
            "--type"
          ],
          "description": "Specifies the type of custom objects to import. Enter \"ALL\" to import all custom objects. To see what custom objects are supported by SDF, see https://system.netsuite.com/app/help/helpcenter.nl?fid=sd"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "object:list",
      "description": "Lists the custom objects deployed in an account",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--appid"
          ],
          "description": "Specifies your application ID. If specified, only custom objects with that application ID are listed. Otherwise, only custom objects with no application ID are listed",
          "takes_arg": true,
          "arg": {
            "name": "app id"
          }
        },
        {
          "names": [
            "--scriptid"
          ],
          "description": "Specifies the script ID. If you specify it, only objects containing that script ID will be listed. Otherwise, all objects are listed",
          "takes_arg": true,
          "arg": {
            "name": "script id"
          }
        },
        {
          "names": [
            "--type"
          ],
          "description": "Specifies the type of custom objects to list. To specify multiple types, enter the types separated by spaces. Otherwise, all types are listed. To see what custom objects are supported by SDF, see http",
          "takes_arg": true,
          "arg": {
            "name": "types",
            "is_variadic": true
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "object:update",
      "description": "Overwrites the custom objects in the project with the custom objects in an account",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--includeinstances"
          ],
          "description": "Includes instances. This is only available for custom records"
        },
        {
          "names": [
            "--scriptid"
          ],
          "description": "Specifies the script ID of the objects you want to overwrite",
          "takes_arg": true,
          "arg": {
            "name": "script id"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "project:adddependencies",
      "description": "Adds the missing dependencies to the manifest file"
    },
    {
      "name": "project:create",
      "description": "Creates a SuiteCloud project, either a SuiteApp or an account customization project (ACP)",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--overwrite"
          ],
          "description": "Overwrites the existing project"
        },
        {
          "names": [
            "--projectid"
          ],
          "description": "Specifies the project ID. It is mandatory for SuiteApps",
          "takes_arg": true,
          "arg": {
            "name": "project id"
          }
        },
        {
          "names": [
            "--projectname"
          ],
          "description": "Specifies the project name",
          "takes_arg": true,
          "arg": {
            "name": "name"
          }
        },
        {
          "names": [
            "--projectversion"
          ],
          "description": "Specifies the project version. It is mandatory for SuiteApps",
          "takes_arg": true,
          "arg": {
            "name": "project version"
          }
        },
        {
          "names": [
            "--publisherid"
          ],
          "description": "Specifies the publisher ID. It is mandatory for SuiteApps",
          "takes_arg": true,
          "arg": {
            "name": "publisher id"
          }
        },
        {
          "names": [
            "--type"
          ],
          "description": "Specifies the project type. Enter one of the following options: ACCOUNTCUSTOMIZATION or SUITEAPP",
          "takes_arg": true,
          "arg": {
            "suggestions": [
              "ACCOUNTCUSTOMIZATION",
              "SUITEAPP"
            ]
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "project:deploy",
      "description": "Deploys the folder containing the project. The project folder is zipped before deployment, only including the files and folders referenced in the deploy.xml file",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--dryrun"
          ],
          "description": "Runs a preview of your deploy process. Your project is not deployed"
        },
        {
          "names": [
            "--log"
          ],
          "description": "Sets the deployment log file location, as either a directory or a file name. If it is a directory, a default log file is generated in the specified location. If a log file already exists in the specif",
          "takes_arg": true,
          "arg": {
            "name": "location",
            "template": "folders"
          }
        },
        {
          "names": [
            "--validate"
          ],
          "description": "Validates the project before deploying. If an error ocurrs during the deployment, the process is stopped"
        },
        {
          "names": [
            "--accountspecificvalues"
          ],
          "description": "Indicates how to handle the presence of account-specific values in an account customization project. If there are account-specific values in the project, enter WARNING to continue with the deployment ",
          "takes_arg": true,
          "arg": {
            "suggestions": [
              "ERROR",
              "WARNING"
            ]
          }
        },
        {
          "names": [
            "-a",
            "--applyinstallprefs"
          ],
          "description": "Applies the settings from the hiding.xml, locking.xml, and overwriting.xml files. It only applies to SuiteApps"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "project:package",
      "description": "Generates a ZIP file from your project, respecting the structure specified in the deploy.xml file",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    },
    {
      "name": "project:validate",
      "description": "Validates the folder containing the SuiteCloud project",
      "options": [
        {
          "names": [
            "-i",
            "--interactive"
          ],
          "description": "Runs the command in interactive mode"
        },
        {
          "names": [
            "--log"
          ],
          "description": "Sets the validation log file location, as either a directory or a file name. If it is a directory, a default log file is generated in the specified location. If a log file already exists in the specif",
          "takes_arg": true,
          "arg": {
            "name": "location",
            "template": "folders"
          }
        },
        {
          "names": [
            "--server"
          ],
          "description": "Indicates that the server will perform the validation"
        },
        {
          "names": [
            "--accountspecificvalues"
          ],
          "description": "Indicates how to handle the presence of account-specific values in an account customization project. If there are account-specific values in the project, enter WARNING to continue with the deployment ",
          "takes_arg": true,
          "arg": {
            "suggestions": [
              "ERROR",
              "WARNING"
            ]
          }
        },
        {
          "names": [
            "-a",
            "--applyinstallprefs"
          ],
          "description": "Applies the settings from the hiding.xml, locking.xml, and overwriting.xml files. It only applies to SuiteApps"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Displays help for the command"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--version"
      ],
      "description": "Outputs the version number"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Displays help for the command"
    }
  ]
}
