Revert previous sdlgo example change
[ric-plt/sdlgo.git] / internal / cli / cli_private_fn_test.go
index 831b5f9..34e3ab3 100644 (file)
@@ -1,6 +1,6 @@
 /*
    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)
-}