sameerdhoot / wolweb

Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.
GNU General Public License v3.0
288 stars 74 forks source link

Add command line arguments for config files #36

Open devusb opened 7 months ago

devusb commented 7 months ago

Add -c and -d flags to pass paths to config.json and devices.json as command line arguments. Default behavior stays as existing and looks in same folder as binary.

Closes #35