Removed the prompt if the default profile setting is changed
Displayed the profile info in use
Fixed the bug when the specified profile is not in the config file
Rules with this change
When the config file does not exist and no profile name is specified in the command, create a config file and set a default profile with name 'default' in the file
When the config file does not exist and profile name is specified in the command, create a config file and set a default profile with specified profile name in the file
When profile name is not specified in the command line, use the profile with name 'default'. If 'default' does not exist, create the default profile with name 'default'
When the specified profile does not exist in the config file, create a default profile settings with the specified profile name
When the specified profile exist in the config file, do nothing
What
Rules with this change