endlessh-go icon indicating copy to clipboard operation
endlessh-go copied to clipboard

Feat: yaml config file

Open sudo-Tiz opened this issue 1 year ago • 3 comments

I am currently on smartphone and i can't test the code (linked to #88 )

sudo-Tiz avatar Jan 28 '24 11:01 sudo-Tiz

Code have to be modified to set the default value if not defined neither in the config-file neither in cli args

sudo-Tiz avatar Jan 28 '24 11:01 sudo-Tiz

Thanks for the CL.

However we need more cleanup before checkin this: As now we have two ways to setup the config, and we may add env in the future, I would like to move the corresponding code to their own package.

In the mean time, you can help

  • Updating the README. If you want, you can create a new file in a new docs folder.
  • Adding examples how to use the config file.

We can have docs as specification, and examples as test input before implementing things.

shizunge avatar Jan 29 '24 18:01 shizunge