mirror of https://github.com/ory/hydra
21 lines
387 B
Go
21 lines
387 B
Go
// Copyright © 2022 Ory Corp
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"github.com/ory/x/cmdx"
|
|
)
|
|
|
|
func NewPerformCmd() *cobra.Command {
|
|
var cmd = &cobra.Command{
|
|
Use: "perform",
|
|
Short: "Perform OAuth 2.0 Flows",
|
|
}
|
|
cmdx.RegisterHTTPClientFlags(cmd.PersistentFlags())
|
|
cmdx.RegisterFormatFlags(cmd.PersistentFlags())
|
|
return cmd
|
|
}
|