added clear command
All checks were successful
code scans / scans (push) Successful in 1m19s

- clear command setup
- clear command added to docs
- config fields saved in model layer
- config command code cleanup
This commit is contained in:
2025-05-10 15:22:33 -04:00
parent 386a766185
commit 83fec73076
4 changed files with 65 additions and 3 deletions

4
models/data.go Normal file
View File

@@ -0,0 +1,4 @@
package models
//list of all fields kept in config file
var ConfigFields = [6]string{"customcmd", "device", "nonce", "port", "server", "password"}