Skip to content

Commit

Permalink
refactor(inventory): move inventory cmd files in inventory dir
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun authored and glimchb committed Jan 29, 2024
1 parent 0afd2ce commit a72325a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/inventory-get.go → cmd/inventory/inventory-get.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit a72325a

Please sign in to comment.