eth-cscs / manta

Another CLI for Alps
https://eth-cscs.github.io/manta/
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

BUG: change preference to choose HSM group cli arg vs configurfation file #86

Open Masber opened 3 months ago

Masber commented 3 months ago

Current behavior regarding HSM group argument in the cli is not consistent. Some commands will hide the HSM group argument if default one is already configured by the user. Other commands will still show the HSM group argument but this won't be the preference if default one is already configured. There is a need to redefine this to something more standard. The chosen behavior will not hide the HSM group argument in cli if a default one is already configured in either configuration file or environment variable and the cli will define a preference on which one to use.

Preference: cli argument --> environment variable --> configuration file