Feat: format-servers CLI command

This commit is contained in:
Quentin McGaw (desktop)
2021-09-23 13:13:17 +00:00
parent c22e0e9db7
commit 03ba9169f4
6 changed files with 440 additions and 0 deletions

View File

@@ -130,6 +130,8 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
return cli.OpenvpnConfig(logger, env)
case "update":
return cli.Update(ctx, args[2:], logger)
case "format-servers":
return cli.FormatServers(args[2:])
default:
return fmt.Errorf("%w: %s", errCommandUnknown, args[1])
}