SuiteCloud CLI for Java Commands

You can use SuiteCloud CLI for Java to manage SuiteCloud project components, and to validate and deploy projects to your NetSuite account.

Note:

SuiteCloud CLI for Java is intended for experienced SDF users and users who are already familiar with SuiteCloud IDE plug-ins and extensions. Use a SuiteCloud IDE plug-in or extension to develop your first project and to learn more about SDF before trying SuiteCloud CLI for Java. For more information, see Getting Started with SuiteCloud Development Framework and SuiteCloud Development Framework Tutorial.

SuiteCloud CLI for Java Syntax

sdfcli <command> <option> <argument>

Note:

If an argument is in angle brackets (<argument>), it's required. If it's in brackets ([argument]), it's optional.

SuiteCloud CLI for Java Command Reference

Command

Description

adddependencies

Adds any missing dependencies to the manifest file.

authenticate

Grants authorization for SuiteCloud SDK to access NetSuite with an account-role combination. It requires browser-based login to NetSuite.

authenticateci

Grants authorization for SuiteCloud SDK to access NetSuite with an account-role combination. It doesn't require browser-based login to NetSuite. This command is helpful for automated environments such as CI.

createfile

Creates a SuiteScript file.

createproject

Creates a SuiteCloud project.

deploy

Deploys the folder or ZIP file with your SuiteCloud project.

importbundle

Imports a customization bundle from your NetSuite account and turns it into an account customization project.

Note:

SuiteBundler is still supported, but it won't get any new features.

To take advantage of new features for packaging and distributing customizations, you can use the Copy to Account and SuiteCloud Development (SDF) features instead of SuiteBundler.

Copy to Account is an administrator tool that you can use to copy objects between your accounts. The tool can copy one object at a time, including dependencies and data. For more information, see Copy to Account.

SuiteCloud Development Framework is a development framework that you can use to create SuiteApps from an integrated development environment (IDE) on your local computer. For more information, see SuiteCloud Development Framework.

importconfiguration

Imports the feature configuration from your NetSuite account to the account customization project, so you can enable or disable features in the project.

importfiles

Imports files from your NetSuite account to the account customization project.

importobjects

Imports SDF custom objects from your NetSuite account your SuiteCloud project.

listbundles

Lists the customization bundles created in your NetSuite account.

listconfiguration

Lists the configuration types available in your NetSuite account.

listfiles

Lists the files in your NetSuite account's File Cabinet .

listmissingdependencies

Lists the missing dependencies in your SuiteCloud project.

listobjects

Lists the SDF custom objects in your NetSuite account.

manageauth

Manages authentication IDs for all your projects.

package

Generates a ZIP file from your project.

preview

Previews the deployment steps of a folder or ZIP file with your SuiteCloud project.

project

Sets the default project folder or ZIP file for SuiteCloud CLI for Java.

update

Updates the SDF custom objects in your SuiteCloud project folder with the matching ones from your NetSuite account.

updatecustomrecordwithinstances

Updates the SDF custom objects and their instances in your SuiteCloud project.

uploadfiles

Uploads one or more files from a SuiteCloud project to your account's File Cabinet.

uploadfolders

Uploads all the files in one or more folders from a SuiteCloud project to your account's File Cabinet.

validate

Validates the folder or ZIP file with your SuiteCloud project.

Related Topics

General Notices