diff --git a/cmd/ipsec-stats.go b/cmd/ipsec/ipsec-stats.go similarity index 93% rename from cmd/ipsec-stats.go rename to cmd/ipsec/ipsec-stats.go index faf1df5..5dd4ea1 100644 --- a/cmd/ipsec-stats.go +++ b/cmd/ipsec/ipsec-stats.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 ipsec implements the ipsec related CLI commands +package ipsec import ( "fmt" diff --git a/cmd/ipsec-test.go b/cmd/ipsec/ipsec-test.go similarity index 91% rename from cmd/ipsec-test.go rename to cmd/ipsec/ipsec-test.go index aaeab88..fea8cb9 100644 --- a/cmd/ipsec-test.go +++ b/cmd/ipsec/ipsec-test.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 ipsec implements the ipsec related CLI commands +package ipsec import ( "fmt" diff --git a/main.go b/main.go index dc608e5..69dfd56 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "os" "github.com/opiproject/godpu/cmd" + "github.com/opiproject/godpu/cmd/ipsec" "github.com/opiproject/godpu/cmd/network" "github.com/opiproject/godpu/cmd/storage" "github.com/spf13/cobra" @@ -38,7 +39,7 @@ func newCommand() *cobra.Command { }, } c.AddCommand(cmd.NewInventoryCommand()) - c.AddCommand(cmd.NewIPSecCommand()) + c.AddCommand(ipsec.NewIPSecCommand()) c.AddCommand(storage.NewStorageCommand()) c.AddCommand(network.NewEvpnCommand()) return c