eth-cscs / manta

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

[Feature] Create example configuration #85

Closed alexlovelltroy closed 1 month ago

alexlovelltroy commented 1 month ago

Manta's source code includes an example configuration file. It would be nice to have a command to generate one for users that don't have a current checkout of the code.

Bonus points if it asks the user for input as part of generating the config.

Masber commented 1 month ago

When Manta starts, the default behavior is, it will looks for a configuration file and it will panic if it can't be found. If configuration file could not be found, then manta will ask the user for the date to generate one. This functionality triggers only if manta runs interactively (neither in a CICD pipeline nor withing a script):

Masber commented 1 month ago

this is done in version 1.46.0