neon-cli

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Neon CLI

Neon CLI

Neon has a first-class CLI:
neonctl
. Use it before writing API calls or clicking the console.
  • List projects:
    neonctl projects list
  • List branches:
    neonctl branches list --project-id <id>
  • Create a branch:
    neonctl branches create --project-id <id> --name <name>
  • Get a connection string:
    neonctl connection-string <branch> --project-id <id>
  • Discover more:
    neonctl --help
Auth:
neonctl auth
once per machine, or
NEON_API_KEY
in env.
Neon拥有一流的CLI工具:
neonctl
。在编写API调用或点击控制台之前使用它。
  • 列出项目:
    neonctl projects list
  • 列出分支:
    neonctl branches list --project-id <id>
  • 创建分支:
    neonctl branches create --project-id <id> --name <name>
  • 获取连接字符串:
    neonctl connection-string <branch> --project-id <id>
  • 了解更多:
    neonctl --help
认证:每台机器执行一次
neonctl auth
,或在环境变量中设置
NEON_API_KEY