-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: move docer command Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove unsued settings Signed-off-by: Vladislav Sukhin <[email protected]> * fix: show help Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
- Loading branch information
Showing
5 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package commands | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
"github.com/kubeshop/testkube/cmd/kubectl-testkube/commands/docker" | ||
"github.com/kubeshop/testkube/pkg/ui" | ||
) | ||
|
||
func NewDockerCmd() *cobra.Command { | ||
|
||
cmd := &cobra.Command{ | ||
Use: "docker", | ||
Short: "Testkube Docker commands", | ||
Run: func(cmd *cobra.Command, args []string) { | ||
err := cmd.Help() | ||
ui.PrintOnError("Displaying help", err) | ||
}, | ||
} | ||
|
||
cmd.AddCommand(docker.NewInitCmd()) | ||
|
||
return cmd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters