-
Couldn't load subscription status.
- Fork 203
Open
Description
-
Command Format: Alibaba Cloud Command Line Interface Version 3.0.290
-
Execution Command:
aliyun version
aliyun --help
- Output:
Neitherversionand--helpcommand can work.
aliyun version
ERROR: load current configuration failed unknown profile sso, run configure to check.
aliyun configure
ERROR: load current configuration failed unknown profile sso, run configure to check⏎
The ~/.aliyun/config.json is invalide beacuse I rename the current to a value that does not exist in profiles.
{
"current": "foo",
"profiles": [
{
"name": "bar"
// other fields
},
{
"name": "baz"
// other fields
},
],
"meta_path": ""
}
It is kinda annoying if version and --help commands cannot work when config.json is invalid. I think a better behaviour is version and --help are always working. Besides, configure command should also work since reconfigure is the fastest way to fix config.json.
Metadata
Metadata
Assignees
Labels
No labels