7549fdbeb0
A number of items were identified by GoLand's code inspection as being unused. These are being removed in this change. Change-Id: I0c8c0b5f5c33f2e715f991a02ddd63174758c533 Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
23 lines
636 B
Go
23 lines
636 B
Go
package document
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"opendev.org/airship/airshipctl/cmd/document/secret"
|
|
"opendev.org/airship/airshipctl/pkg/environment"
|
|
)
|
|
|
|
// NewDocumentCommand creates a new command for managing airshipctl documents
|
|
func NewDocumentCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Command {
|
|
documentRootCmd := &cobra.Command{
|
|
Use: "document",
|
|
Short: "manages deployment documents",
|
|
}
|
|
|
|
documentRootCmd.AddCommand(NewDocumentPullCommand(rootSettings))
|
|
documentRootCmd.AddCommand(secret.NewSecretCommand())
|
|
documentRootCmd.AddCommand(NewRenderCommand(rootSettings))
|
|
|
|
return documentRootCmd
|
|
}
|