add optional config preview with confirmation

This commit is contained in:
2025-08-01 00:08:38 +03:00
parent 3b8390a0c8
commit 08e96aa32a
5 changed files with 88 additions and 4 deletions

View File

@@ -27,9 +27,10 @@ type Conf struct {
}
type Node struct {
Mode *string `mapstructure:"mode"`
Name *string `mapstructure:"name"`
ComDir *string `mapstructure:"com_dir"`
Mode *string `mapstructure:"mode"`
Name *string `mapstructure:"name"`
ShowConfig *bool `mapstructure:"show_config"`
ComDir *string `mapstructure:"com_dir"`
}
type HTTPServer struct {