tb-open-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.3-beta.25 • Public • Published

tb-open-cli

淘宝开放 CI、CD命令行工具,用于集成构建、公共机器构建流水线等场景中,方便自动化生成预览码、上传小程序等。

安装

npm install tb-open-cli -g

使用指南

帮助

tbopen -h
tbopen [action] -h e.g. tbopen preview -h

登录

tbopen login
// 此命令借助chrome 默认会去寻找电脑中的chrome浏览器所在.如果发生相关错误找不到,也可以通过指定后使用
tbopen config set PUPPETEER_PATH /Applications/Google Chrome.app/Contents/MacOS/Google\ Chrome

应用信息查询(应用名称、最新版本等)

tbopen app --appId [appId]

应用预览

tbopen preview --appId [appId] --type [type]

应用上传

tbopen upload --appId [appId] --type [type]

本地配置

设置值: tbopen config set [key] [value] e.g. tbopen config set key1 value1

获取值: tbopen config get [key] e.g. tbopen config get key1

显示所有值: tbopen config show

Package Sidebar

Install

npm i tb-open-cli

Weekly Downloads

1

Version

0.0.3-beta.25

License

none

Unpacked Size

141 kB

Total Files

111

Last publish

Collaborators

  • learnin-tap