
It now correctly prints errors to stderr (https://github.com/spf13/cobra/pull/894). Signed-off-by: Matt Moyer <moyerm@vmware.com>
17 lines
308 B
Go
17 lines
308 B
Go
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
//nolint: gochecknoglobals
|
|
var getCmd = &cobra.Command{Use: "get", Short: "get"}
|
|
|
|
//nolint: gochecknoinits
|
|
func init() {
|
|
rootCmd.AddCommand(getCmd)
|
|
}
|