lingo.dev 配置

config 命令的 CLI 参考文档

简介

管理存储在 ~/.lingodotdevrc 中的 CLI 设置(认证、API 密钥)

用法

lingo.dev config [options] [command]

子命令

lingo.dev config set

在 ~/.lingodotdevrc 中设置或更新 CLI 设置

用法

lingo.dev config set [options] <key> <value>

参数

  • <key> — 要设置的配置键(点号表示法,例如 auth.apiKey)
  • <value> — 要设置的配置值

lingo.dev config unset

从 ~/.lingodotdevrc 中移除 CLI 设置

用法

lingo.dev config unset [options] <key>

参数

  • <key> — 要移除的配置键(必须与下方列出的可用键之一匹配)

lingo.dev config get

显示 ~/.lingodotdevrc 中 CLI 设置的值

用法

lingo.dev config get [options] <key>

参数

  • <key> — 要读取的配置键(请从下方列出的可用键中选择)