@tunnelhub/cli v2.1.11
TunnelHub CLI
TunnelHub CLI is a command-line interface tool that helps developers interact with TunnelHub services directly from their terminal. It simplifies managing environments, packages, and automations for creating and deploying integrations in the TunnelHub ecosystem.
Features
- Secure authentication with TunnelHub accounts
- Environment management and listing
- Package creation and listing
- Automation creation, listing, and deployment
- Support for different runtime engines (Lambda and ECS Fargate)
- Intuitive command-line interface with guided prompts
Installation
To use the TunnelHub CLI, you need Node.js installed on your system. Download it from nodejs.org if you don't have it yet.
Install the TunnelHub CLI globally using npm:
npm install -g @tunnelhub/cliOr using yarn:
yarn global add @tunnelhub/cliAfter installation, you can access the CLI using either tunnelhub or the shorthand th command.
Usage
Authentication
Before using TunnelHub CLI, you need to authenticate with your TunnelHub account:
tunnelhub loginThis will open a browser window for OAuth authentication. If you prefer password-based authentication:
tunnelhub login --passwordTo verify your authentication status:
tunnelhub login-checkTo log out and remove your credentials:
tunnelhub logoutManaging Environments
List your available environments:
tunnelhub list-environmentsWorking with Packages
List your existing packages:
tunnelhub list-packagesCreate a new package:
tunnelhub create-packageWorking with Automations
List your automations:
tunnelhub list-automationsCreate a new automation:
tunnelhub create-automation --env [environment-id]When creating automations, you can choose from four base designs:
- No delta (individual)
- No delta (batch)
- Delta (individual)
- Delta (batch)
Deploy an automation:
tunnelhub deploy-automation --env [environment-id] --automation [automation-id]Help and Version
Display the help menu:
tunnelhub --helpCheck the CLI version:
tunnelhub --versionCommon Workflows
Creating and Deploying an Automation
Log in to your TunnelHub account:
tunnelhub loginList your environments and note the environment ID where you want to create the automation:
tunnelhub list-environmentsCreate a new automation:
tunnelhub create-automation --env [environment-id]Follow the interactive prompts to configure your automation settings, including the automation type, runtime engine, and other parameters.
Deploy your automation:
tunnelhub deploy-automation --env [environment-id] --automation [automation-id]
Support
If you encounter any issues or have questions about using TunnelHub CLI, please visit our GitHub repository or contact support at the email provided in the package information.
License
TunnelHub CLI is licensed under the ISC License.
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
2 years ago
3 years ago
3 years ago