diff --git a/cmd/inventory-get.go b/cmd/inventory/inventory-get.go similarity index 94% rename from cmd/inventory-get.go rename to cmd/inventory/inventory-get.go index 5628157..52e43de 100644 --- a/cmd/inventory-get.go +++ b/cmd/inventory/inventory-get.go @@ -1,8 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2022-2023 Dell Inc, or its subsidiaries. -// Package cmd implements the CLI commands -package cmd +// Package inventory implements inventory related CLI commands +package inventory import ( "context" diff --git a/main.go b/main.go index 69dfd56..d060cb3 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "log" "os" - "github.com/opiproject/godpu/cmd" + "github.com/opiproject/godpu/cmd/inventory" "github.com/opiproject/godpu/cmd/ipsec" "github.com/opiproject/godpu/cmd/network" "github.com/opiproject/godpu/cmd/storage" @@ -38,7 +38,7 @@ func newCommand() *cobra.Command { os.Exit(1) }, } - c.AddCommand(cmd.NewInventoryCommand()) + c.AddCommand(inventory.NewInventoryCommand()) c.AddCommand(ipsec.NewIPSecCommand()) c.AddCommand(storage.NewStorageCommand()) c.AddCommand(network.NewEvpnCommand())