1.8.0-salto-2 ā€¢ Published 4 months ago

@salto-io/suitecloud-cli v1.8.0-salto-2

Weekly downloads
176
License
UPL-1.0
Repository
github
Last release
4 months ago

SuiteCloud CLI for Node.js

SuiteCloud Command Line Interface (CLI) for Node.js is a SuiteCloud SDK tool to manage SuiteCloud project components and validate and deploy projects to your account.\ CLI for Node.js is an interactive tool that guides you through all the steps of the communication between your local project and your account.

Prerequisites

The following software is required to work with SuiteCloud CLI for Node.js:

  • Node.js version 18.14.2 LTS
  • Oracle JDK version 17

Read the full list of prerequisites in SuiteCloud CLI for Node.js Installation Prerequisites.

Supported Versions

Although you may have access to older versions of CLI for Node.js, only the versions in this section are officially supported.

Each version of CLI for Node.js in NPM works optimally with a specific NetSuite version. To check the equivalence among versions, see the following table:

Version in NPMVersion in NetSuite
1.8.X2023.2
1.7.X2023.1

Installation

Since CLI for Node.js is a development tool, use a global instance to install it by running the following command:

npm install -g @oracle/suitecloud-cli

When installing SuiteCloud CLI for Node.js via script, for instance in a CI environment, you can skip showing the license presented during the normal installation process by adding the --acceptSuiteCloudSDKLicense flag to the install script as shown below. Note that by adding the mentioned flag to the script, you confirm that you have read and accepted the Oracle Free Use Terms and Conditions license. See the License section for details.

npm install -g --acceptSuiteCloudSDKLicense @oracle/suitecloud-cli

CLI for Node.js is available from within any directory by running suitecloud.

Usage

CLI for Node.js uses the following syntax:

suitecloud <command> <option> <argument>

Commands

CommandDescription
account:manageauthManages authentication IDs for all your projects.
account:savetokenSaves a TBA token that you issued previously in NetSuite.
account:setupSets up an account to use with SuiteCloud CLI for Node.js.
file:createCreates SuiteScript files in the selected folder using the correct template with SuiteScript modules injected.
file:importImports files from an account to your account customization project.
file:listLists the files in the File Cabinet of your account.
file:uploadUploads files from your project to an account.
object:importImports SDF custom objects from an account to your SuiteCloud project.
object:listLists the SDF custom objects deployed in an account.
object:updateOverwrites the SDF custom objects in the project with their matching objects imported from the account. In the case of custom records, custom instances can be included.
project:adddependenciesAdds missing dependencies to the manifest file.
project:createCreates a SuiteCloud project, either a SuiteApp or an account customization project (ACP).
project:deployDeploys the folder containing the project.
project:packageGenerates a ZIP file from your project, respecting the structure specified in the deploy.xml file.
project:validateValidates the folder containing the SuiteCloud project.

To check the help for a specific command, run the following command:

suitecloud {command} -h

Read the detailed documentation for all the commands in SuiteCloud CLI for Node.js Reference.

Getting Started

šŸŽž To see how to install and set up CLI for Node.js, watch the following video:

Create a new project in an empty folder by running the following command:

suitecloud project:create -i

After you create a project, configure a NetSuite account, by running the following command within the project folder:

suitecloud account:setup

Release Notes & Documentation

To read the 2023.2 NetSuite's release notes and documentation, check the following sections of NetSuite's Help Center:

Contributing

SuiteCloud CLI for Node.js is an open source project. Pull Requests are currently not being accepted. See Contributing for details.

License

Copyright (c) 2022, 2023 Oracle and/or its affiliates The Universal Permissive License (UPL), Version 1.0.

By installing SuiteCloud CLI for Node.js, you are accepting the installation of the SuiteCloud SDK dependency under the Oracle Free Use Terms and Conditions license.

1.8.0-salto-2

4 months ago

1.8.0-salto-1

4 months ago

1.6.2-salto-3

9 months ago

1.6.2-salto-4

9 months ago

1.6.2-salto-2

1 year ago

1.6.2-salto-1

1 year ago

1.5.0-salto-1

2 years ago

1.3.2-salto-2

2 years ago

1.3.2-salto-1

2 years ago

1.3.1-salto-1

2 years ago

1.3.1-salto-2

2 years ago

1.2.1-salto-1

3 years ago

1.1.2-salto-9

3 years ago

1.1.2-salto-6

3 years ago

1.1.2-salto-8

3 years ago

1.1.2-salto-7

3 years ago

1.1.2-salto-5

3 years ago

1.1.2-salto-4

3 years ago

1.1.2-salto-3

3 years ago

1.1.2-salto-2

3 years ago

1.1.2-salto-1

3 years ago

1.1.0-salto-9

4 years ago

1.1.0-salto-8

4 years ago

1.1.0-salto-7

4 years ago

1.1.0-salto-6

4 years ago

1.1.0-salto-5

4 years ago

1.1.0-salto-4

4 years ago

1.1.0-salto-3

4 years ago

1.1.0-salto-2

4 years ago

1.1.0-salto-1

4 years ago

1.0.2-salto-17

4 years ago

1.0.2-salto-16

4 years ago

1.0.2-salto-15

4 years ago

1.0.2-salto-14

4 years ago

1.0.2-salto-13

4 years ago

1.0.2-salto-12

4 years ago

1.0.2-salto-11

4 years ago

1.0.2-salto-10

4 years ago

1.0.2-salto-9

4 years ago

1.0.2-salto-8

4 years ago

1.0.2-salto-7

4 years ago

1.0.2-salto-6

4 years ago

1.0.2-salto-5

4 years ago

1.0.2-salto-4

4 years ago

1.0.2-salto-3

4 years ago

1.0.2-salto-2

4 years ago

1.0.2-salto-1

4 years ago