mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-27 22:27:23 +08:00
21 lines
327 B
Go
21 lines
327 B
Go
package jwk
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
|
|
func NewMigrateCmd() *cobra.Command {
|
|
return &cobra.Command{
|
|
Use: "jwk",
|
|
Short: "Tools for handling JSON Web Keys",
|
|
Long: ``,
|
|
}
|
|
}
|
|
|
|
func RegisterCommands(parent *cobra.Command) {
|
|
cmd := NewMigrateCmd()
|
|
parent.AddCommand(cmd)
|
|
cmd.AddCommand(NewCreateCommand())
|
|
}
|