package

Note:

SuiteCloud CLI for Java has reached end of support. The final available version is 2025.2. Oracle no longer provides new releases, features, or issue fixes. The CLI will remain available for download until the NetSuite 2027.1 release. Transition to SuiteCloud CLI for Node.js, SuiteCloud Extension for Visual Studio Code, or SuiteCloud IDE Plug-in for WebStorm.

Generates a ZIP file from your project, following the structure specified in the deploy.xml file. You can use this command for both account customization and SuiteApp projects.

Syntax

          sdfcli package <-destination destinationFolder>
         <-project projectFolder> 

        

Options

Option

Required / Optional

Description

-d or -destination

Required

Specifies a path to store the ZIP file containing your project.

-p or -project

Required

Specifies the preview log file location as a directory path or a file name.

If you specify a directory, the log file is created there by default.

Preview log details are added to the end of the file.

-h or -help

Optional

Prints the help for this command.

Example

Here's a command that creates a ZIP file with a SuiteCloud project and stores it in a specific folder:

sdfcli package -d C:\sdfProjects -p C:\sdfProjects\projectACP

When you run the command, it produces an output that is similar to the following:

          The projectACP-2020-08-17_14-50-23.zip file has been successfully created. 

        

Related Topics

General Notices