feat(cli): Reset Password Command

Introduce `reset-password` command.

Refs #71
This commit is contained in:
IJustDev
2020-10-12 00:15:48 +02:00
committed by Jordan Knott
parent 92493deedf
commit 86f2d90668
2 changed files with 69 additions and 1 deletions

View File

@ -67,6 +67,6 @@ func initConfig() {
// Execute the root cobra command
func Execute() {
rootCmd.SetVersionTemplate(versionTemplate)
rootCmd.AddCommand(newWebCmd(), newMigrateCmd(), newTokenCmd(), newWorkerCmd())
rootCmd.AddCommand(newWebCmd(), newMigrateCmd(), newTokenCmd(), newWorkerCmd(), newResetPasswordCmd())
rootCmd.Execute()
}