package
Generates a ZIP file from your project, respecting the structure specified in the deploy.xml file. You can run this command for both account customization and SuiteApp projects.
Syntax
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 generated in the specified location by default. Previews log details are appended to the end of the file. |
-h or -help |
Optional |
Prints the help for this command. |
Example
The following command 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
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importbundle
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- listobjects
- manageauth
- package
- project
- preview
- update
- updatecustomrecordwithinstances
- uploadfiles
- uploadfolders
- validate