/*
Copyright (c) 2021 AT&T Intellectual Property.
- Copyright (c) 2018-2021 Nokia.
+ Copyright (c) 2018-2022 Nokia.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
package cli
-import (
- "github.com/spf13/cobra"
+var (
+ NewRootCmd = newRootCmd
+ NewHealthCheckCmd = newHealthCheckCmd
+ NewKeysCmdForTest = newKeysCmd
+ NewGetCmdForTest = newGetCmd
+ NewSetCmdForTest = newSetCmd
+ NewRemoveCmdForTest = newRemoveCmd
+ NewNamespacesCmdForTest = newNamespacesCmd
+ NewStatisticsCmd = newStatisticsCmd
+ NewCompletionCmdForTest = newCompletionCmd
)
-
-// NewHealthCheckCmdForTest is used only in unit tests to mock database.
-func NewHealthCheckCmdForTest(dbCreateCb DbCreateCb) *cobra.Command {
- return newHealthCheckCmd(dbCreateCb)
-}