SuiteCloud CLI for Java Commands

You can use SuiteCloud CLI for Java to manage SuiteCloud project components and 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. You should 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 enclosed in angle brackets in the CLI, that is <argument>, it means that it is required. Otherwise, if an argument is enclosed in brackets, that is [argument], it means that it is optional.

SuiteCloud CLI for Java Command Reference

Command

Description

adddependencies

Adds 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.

createfile

Creates a SuiteScript file.

createproject

Creates a SuiteCloud project.

deploy

Deploys the folder or ZIP file that contains the SuiteCloud project.

importbundle

Imports a customization bundle from your NetSuite account and converts it to an account customization project.

Note:

SuiteBundler is still supported, but it will not be updated with 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 that 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 to the SuiteCloud project.

listbundles

Lists the customization bundles that were created in your NetSuite account.

listconfiguration

Lists the configuration types that are available in your NetSuite account.

listfiles

Lists the files in the File Cabinet of your NetSuite account.

listmissingdependencies

Lists the missing dependencies in the 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 that contains the SuiteCloud project.

project

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

update

Updates the existing SDF custom objects in the SuiteCloud project folder with their matching objects in your NetSuite account.

updatecustomrecordwithinstances

Updates the SDF custom objects and its instances in the SuiteCloud project.

uploadfiles

Uploads one or several files from a SuiteCloud project to the File Cabinet in your account.

uploadfolders

Uploads all the files within one or several folders from a SuiteCloud project to the File Cabinet in your account.

validate

Validates the folder or ZIP file that contains the SuiteCloud project.

Related Topics

General Notices