diff --git a/cmd/bot/main.go b/cmd/bot/main.go index bfe4f35..35ba88d 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -116,6 +116,7 @@ func main() { { Name: "up", Description: `Perform upgrade.`, + Action: cmdHost.Initalizer().DoUp, }, { Name: "down", diff --git a/internal/commands/install.go b/internal/commands/install.go index a590e68..08d03da 100644 --- a/internal/commands/install.go +++ b/internal/commands/install.go @@ -48,3 +48,7 @@ func (inst *installer) DoInstall(ctx context.Context, cmd *cli.Command) error { } return nil } + +func (inst *installer) DoUp(ctx context.Context, cmd *cli.Command) error { + return inst.DoInstall(ctx, cmd) +}