Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcb -h 和 tcb --help 为啥不一样 #29

Open
imgss opened this issue May 24, 2021 · 0 comments
Open

tcb -h 和 tcb --help 为啥不一样 #29

imgss opened this issue May 24, 2021 · 0 comments

Comments

@imgss
Copy link

imgss commented May 24, 2021

tcb --help 只会显示下面的内容,需要 tcb -h 才能正常显示支持的命令,两者表现不应该一样吗

选项:
  --help     显示帮助信息                                                 [布尔]
  --version  显示版本号                                                   [布尔]

tcb -h:

CloudBase CLI 1.7.0
CloudBase Framework 1.7.4

  命令

    login           [options]                  登录腾讯云账号
    logout                                     登出腾讯云账号
    env             [cmd]                      环境管理操作
    fn              [cmd]                      操作函数
    framework       [cmd]                      云开发 Serverless 应用框架操作
    hosting         [cmd]                      静态托管资源管理操作
    new             [appName] [template]       创建新的云开发应用
    open            [link]                     在浏览器中打开云开发相关连接
    storage         [cmd]                      云存储资源管理操作
    service         [cmd]                      HTTP 访问服务管理操作 
 
  选项

    --verbose                                  打印出内部运行信息
    -r, --region <region>                      指定环境地域
    --mode <mode>                              指定加载 env 文件的环境
    --config-file <path>                       指定配置文件路径
    -v, --version                              输出当前版本
    -h, --help                                 查看命令帮助信息 
 
  Tips:

    – 登录

      $ tcb login

    – 创建新的云开发应用

      $ tcb new appName

    – 部署云函数

      $ tcb fn deploy

    – 查看命令使用介绍

      $ tcb fn -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant