Cli
Command Line Interface that allows you interact with hightouch resources
Install / Use
/learn @hightouchio/CliREADME
Hightouch CLI
Hightouch CLI to list, inspect resources and trigger syncs
Demo
Quick Start
- To install cli from curl script, run
curl -sLf https://raw.githubusercontent.com/hightouchio/cli/main/install.sh | sh -
To install from Github package, download the latest release from here.
-
Create an API key. Follow docs here.
-
Login CLI with API key.
$ ht login
Hightouch API key [************************************]:
Note: you can override api key with this environment variable HIGHTOUCH_APIKEY=mykey.
- Hightouch CLI is ready to use!
ht destinations
List all destinations in current workspace
USAGE
$ ht destinations
DESCRIPTION
List all destinations in current workspace
ALIASES
$ ht destination
EXAMPLES
$ ht destinations
See code: src/commands/destinations.ts
ht inspect RESOURCE
Inspect resources in the current workspace
USAGE
$ ht inspect [RESOURCE] -f <value>
ARGUMENTS
RESOURCE Resource ID
FLAGS
-f, --format=<value> (required) [default: json] Output format(yaml/json)
DESCRIPTION
Inspect resources in the current workspace
EXAMPLES
$ ht inspect model/run-user
See code: src/commands/inspect.ts
ht login
Login hightouch with api key
USAGE
$ ht login
DESCRIPTION
Login hightouch with api key
EXAMPLES
$ ht login
See code: src/commands/login.ts
ht models
List all models in current workspace
USAGE
$ ht models
DESCRIPTION
List all models in current workspace
ALIASES
$ ht model
EXAMPLES
$ ht models
See code: src/commands/models.ts
ht runs
List all syncs run for a given sync
USAGE
$ ht runs -s <value> [-l <value>]
FLAGS
-l, --limit=<value> [default: 5] Limit the number of runs to output
-s, --sync=<value> (required) Specify sync name to list runs
DESCRIPTION
List all syncs run for a given sync
ALIASES
$ ht run
EXAMPLES
$ ht runs
See code: src/commands/runs.ts
ht sources
List all sources in current workspace
USAGE
$ ht sources
DESCRIPTION
List all sources in current workspace
ALIASES
$ ht source
EXAMPLES
$ ht sources
See code: src/commands/sources.ts
ht syncs
List all syncs in current workspace
USAGE
$ ht syncs
DESCRIPTION
List all syncs in current workspace
ALIASES
$ ht sync
EXAMPLES
$ ht syncs
See code: src/commands/syncs.ts
ht trigger SYNC
Trigger sync to run
USAGE
$ ht trigger [SYNC] [-f] [-q]
ARGUMENTS
SYNC Sync ID
FLAGS
-f, --full-sync Whether to run a full sync
-q, --quiet Whether to show run progress
DESCRIPTION
Trigger sync to run
EXAMPLES
$ ht trigger --sync test123
See code: src/commands/trigger.ts
<!-- commandsstop -->Local Development
Hightouch cli is written in typescripts. To test or develop in local development:
-
Install latest LTS nodejs.
-
Run
$ ./script/dev
License
Copyright [2022] Carry Technologies, Inc. dba Hightouch
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
