Choerodon CLI工具登录报错

  • Choerodon平台版本:0.16.0

  • 运行环境(如localhost或k8s):k8s

  • 遇到问题时的前置条件:
    macOS/Linux下使用Choerodon CLI工具登录猪齿鱼

  • 问题描述:

    请尽量详细的描述您遇到的问题,以便我们能更快速的提供解决办法。
    使用Choerodon CLI工具登录猪齿鱼登录

    c7nctl login -U xxx -P xxx --url https://xxxxx/
    
  • 报错信息(请尽量使用代码块的形式展现):

2019/05/15 17:02:15 [Error] login failed
2019/05/15 17:02:15 [INFO] login succeed
Error: flag accessed but not defined: name
Usage:
  c7nctl login [flags]

Flags:
  -h, --help              help for login
  -P, --password string   password
      --url string
  -U, --username string   username

Global Flags:
      --config string    config file (default is $HOME/.c7n.yaml)
  -o, --orgCode string   org code
  -p, --proCode string   pro code

flag accessed but not defined: name
  • 原因分析:

    提出您分析问题的过程,以便我们能更准确的找到问题所在

未正确指定参数

  • 疑问:

    提出您对于遇到和解决该问题时的疑问

官方文档有误?文档地址http://choerodon.io/zh/docs/user-guide/cli/

目前登陆有问题,正在处理中!

1 个赞