Add option to strip ansi colors and split the done line in egg startup configuration

This commit is contained in:
Matthew Penner
2020-08-04 17:39:54 -06:00
parent 234fbfa8ec
commit eb975e0cbd
2 changed files with 43 additions and 12 deletions

View File

@@ -33,11 +33,15 @@ type ProcessConfiguration struct {
Startup struct {
Done string `json:"done"`
UserInteraction []string `json:"userInteraction"`
SplitCharacter string `json:"splitCharacter"`
StripAnsi bool `json:"stripAnsi"`
} `json:"startup"`
Stop struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"stop"`
ConfigurationFiles []parser.ConfigurationFile `json:"configs"`
}
@@ -202,4 +206,4 @@ func (r *PanelRequest) SendTransferSuccess(uuid string) (*RequestError, error) {
}
return nil, nil
}
}