tinybird-cli-guidelines

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Tinybird CLI Guidelines

Tinybird CLI使用指南

Guidance for using the Tinybird CLI (tb) for local development, deployments, data operations, and workspace management.
本指南介绍如何使用Tinybird CLI(tb)进行本地开发、部署、数据操作及工作区管理。

When to Apply

适用场景

  • Running any
    tb
    command
  • Local development with Tinybird Local
  • Building and deploying projects
  • Appending, replacing, or deleting data
  • Managing tokens and secrets via CLI
  • Generating mock data
  • Running tests
  • 运行任何
    tb
    命令
  • 使用Tinybird Local进行本地开发
  • 构建并部署项目
  • 追加、替换或删除数据
  • 通过CLI管理token和密钥
  • 生成模拟数据
  • 运行测试

Rule Files

规则文件

  • rules/cli-commands.md
  • rules/build-deploy.md
  • rules/local-development.md
  • rules/data-operations.md
  • rules/append-data.md
  • rules/mock-data.md
  • rules/tokens.md
  • rules/secrets.md
  • rules/cli-commands.md
  • rules/build-deploy.md
  • rules/local-development.md
  • rules/data-operations.md
  • rules/append-data.md
  • rules/mock-data.md
  • rules/tokens.md
  • rules/secrets.md

Quick Reference

快速参考

  • CLI commands by default target Local; use
    tb --cloud <command>
    to target Cloud.
  • Use
    tb info
    to check CLI context.
  • Use
    tb --branch <branch-name> <command>
    to target a specific branch in Cloud.
  • Never invent commands or flags; run
    tb <command> --help
    to verify.
  • CLI命令默认指向本地环境;使用
    tb --cloud <command>
    指向云端环境。
  • 使用
    tb info
    查看CLI上下文信息。
  • 使用
    tb --branch <branch-name> <command>
    指向云端的特定分支。
  • 切勿自行创建命令或参数;运行
    tb <command> --help
    进行验证。