如何在插件工程下快速切换团队?

Viewed 24

用多团队实例在开发时,有时候需要新建团队做测试,并切换到新团队下。

1 Answers

见命令行工具的帮助

Usage: op pickteam [options] [target]

fetch the team list with the user credentials stored in the config file and update the config file with the team information from the team list for local debugging or CI deployment

Example:
  npx op pickteam local
    fetch the team list with the user credentials stored in the 'config/local.config'
    (if does not store user credentials, you need to execute 'npx op login' first)

注:估计上面的文档有点老,配置文件是config/local.yaml 而非 config/local.config