ory-am/hydra

View on GitHub
cmd/cmd_delete.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 NewDeleteCmd() *cobra.Command {
    var cmd = &cobra.Command{
        Use:   "delete",
        Short: "Delete resources",
    }
    cmdx.RegisterHTTPClientFlags(cmd.PersistentFlags())
    cmdx.RegisterFormatFlags(cmd.PersistentFlags())
    return cmd
}