ory-am/hydra

View on GitHub
cmd/create.go

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
    "github.com/spf13/cobra"

    "github.com/ory/x/cmdx"
)

func NewCreateCmd() *cobra.Command {
    var cmd = &cobra.Command{
        Use:   "create",
        Short: "Create resources",
    }
    cmdx.RegisterHTTPClientFlags(cmd.PersistentFlags())
    cmdx.RegisterFormatFlags(cmd.PersistentFlags())
    return cmd
}