npm install -g @4success/tunnelhub-cli
yarn global add @4success/tunnelhub-cli
tunnelhub help
th
such as:th help
th login
command. When running, you will be prompted for three pieces of information:Company ID
field. The username and password fields are the same as those used to enter the portal.It is necessary to inform in which environment you are creating the automation through the--env
parameter at the end of the command
It is necessary to inform in which environment you are creating the automation through the--env
parameter at the end of the command and also a message in the--message
parameter to stay in the deployment history.
npm install -g @4success/tunnelhub-sdk
yarn global add @4success/tunnelhub-sdk
event
variable has the systems data assigned in our panel in the systems
properties. You can import the fields available in the SDK’s type definition with the command below:import { TunnelHubSystem } from '@4success/tunnelhub-sdk/src/types/data'
event
variable has the parameters defined in our panel in the parameters
properties. You can import the fields available in the SDK’s type definition with the command below:import { GenericParameter } from '@4success/tunnelhub-sdk'
event
variable has all the data needed to instantiate the DataStore
class from our SDK. You can import it into your project with the command below:import DataStore from '@4success/tunnelhub-sdk/src/classes/util/dataStore'
beforeAll
block is very important. If you need to mock data from a from/to table, you can use the template below: