add optional webui restart

This commit is contained in:
Greg T. Wallace 2024-02-05 18:25:55 -05:00
parent 29cd44077b
commit 2b46f33af8
6 changed files with 103 additions and 28 deletions

View file

@ -11,6 +11,9 @@ const createDefaultOutFilePath = "apctool.p15"
// cmdCreate is the app's command to create an apc p15 file from key and cert
// pem files
func (app *app) cmdCreate(_ context.Context, args []string) error {
// done
defer app.stdLogger.Println("create: done")
// extra args == error
if len(args) != 0 {
return fmt.Errorf("create: failed, %w (%d)", ErrExtraArgs, len(args))