mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-07-07 00:16:34 +00:00
add optional webui restart
This commit is contained in:
parent
29cd44077b
commit
2b46f33af8
6 changed files with 103 additions and 28 deletions
pkg/app
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue