Skip to content

CLI Command Reference

This section is organized by top-level command families. It works more like an index into the command tree than a copy of every terminal help screen. Its job is to help you quickly answer:

  • which command tree you should enter
  • what that command family is responsible for
  • which level of the command tree to open next

If you already know that your task is about apps, dashboards, datasets, pipelines, or permissions, this reference is usually faster than jumping through workflow pages repeatedly.

How to use this reference

Recommended order:

  1. Find the relevant command family on this page
  2. Open the corresponding subpage to see the common subcommands
  3. Before execution, use the CLI --help output for exact flags and examples

Global options

These options appear across most commands:

OptionPurposeTypical use
-o, --outputSelect output formattable for direct reading, json / yaml for agents, scripts, and CI
-c, --configSelect a config file pathSwitch between local config files explicitly
--api-urlOverride the target instance API URLTemporarily override HBI_API_URL
--tokenOverride the current access tokenUse a temporary token instead of saved credentials
--dry-runPreview a write without executing itUseful before grants, config changes, and deletes
--yesAuto-confirm side effectsNon-interactive runs and batch jobs
--langSelect CLI languageCurrently zh-CN and en-US

Command family map

Command familyMain scopeContinue reading
auth search config preferences scheduler logsauthentication, search, local CLI config, system preferences, schedules, and logsCore & Runtime Commands
app folder dashboard elementapps, folders, dashboards, and page elementsApp & Dashboard Commands
connection dataset data-model metric measure pipeline notebook data-alert data-agentdata onboarding, modeling, metrics, execution, and AI-related capabilitiesData & Execution Commands
user user-group org user-attr tenant subject kanban permission authorizeusers, orgs, tenants, permissions, subject domains, and kanban resourcesUsers, Tenants & Permission Commands

How to keep drilling down

This reference mainly helps you decide which command tree to enter first, not reproduce every --help page. A simple way to think about drill-down is:

If you need to...Start with this command tree
manage app parameters, shared dimensions, rules, subscriptions, or portal settingsapp -> app param / app dimension / app rule / app subscribe / app portal
work on dashboard plans or themesdashboard -> dashboard plan / dashboard theme
create or update charts and page elementselement -> element chart / element filter / element container / element text
edit pipeline nodespipeline -> pipeline edit

Once you have located the right command tree, use that level's --help in the terminal for exact flags and examples.

Chinese aliases

The CLI still supports Chinese aliases for first-level commands, for example:

bash
hbi 应用 list
hbi 数据集 preview
hbi 仪表盘 show

If your team mixes human operators and agents, it is still better to standardize on the English command tree for consistency with scripts, skills, and help output.

User Manual for Hengshi Analysis Platform