Skip to content

Commit

Permalink
add ctx name and command to the output
Browse files Browse the repository at this point in the history
  • Loading branch information
hidalgopl committed Aug 11, 2023
1 parent e06876b commit bfee882
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Good news! `kubectls` is here to help you!

# Demo

[![asciicast](https://asciinema.org/a/sM4ogGmfBnk0wBC31K5RK3n88.svg)](https://asciinema.org/a/sM4ogGmfBnk0wBC31K5RK3n88)

# Commands not supported
- exec
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func main() {
currentColor := Colors[i]
cmd := buildKubectlCommandForContext(k8sCtx, kubectlArgs)
fmt.Printf("%s---------------------------------------------------------------------------------------\n", currentColor)
fmt.Printf("(%s) $ %s\n", strings.ToUpper(k8sCtx), cmd.String())
output, err := cmd.CombinedOutput()
if err != nil {
fmt.Printf("got errors: %w", err)
Expand Down

0 comments on commit bfee882

Please sign in to comment.