- when launching --init/--initApp, create the defined profile if missing
- fix profiles listing (bad directory)
- help command : always add --profile argument if profile name is defined
- functions to create keys now launched out of parseArguments()
bugfix :
- fix empty CURRENT_PATH when launching --init/--initApp
enhancements :
- better output for --list-profile output + add 'default' profile
refactoring :
- move initApplication() into createConsumerKey() instead of calling it each time
- add --profile to override default configuration location
- add --list-profile to display available profiles
- rework messages to display command with the current profile if set
Bugfix
- ensure OVH App Key an App Secret are defined when creating consumer key
Enhancements
- when using --init, allow override default "all permissions grants" if --data is set
- add -h/--help