Skip to content

Commit

Permalink
Removing old commented out code block
Browse files Browse the repository at this point in the history
  • Loading branch information
deckarep committed Jan 5, 2024
1 parent 16a2ea3 commit 25b2f29
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,6 @@ var rootCmd = &cobra.Command{
// CONSIDER: should this show all flags?
ctx = context.WithValue(ctx, pkg.CtxKeyUserQuery, fmt.Sprintf("%s %s", cfgCtx.PrefixFilter, cfgCtx.RemoteCmd))

//if false {
// //myCmd := "sudo ls /var/log"
// myCmd := "head -n100 /var/log/secure"
// //myCmd := "while true; do echo 'hi'; sleep 1; done"
// var hosts = []string{
// "blade",
// "blade",
// //"blade",
// //"blade",
// //"blade",
// //"blade",
// //"blade",
// //"blade",
// //"blade",
// //"blade",
// }
//
// app.ExecuteClusterRemoteCmd(ctx, os.Stdout, hosts, myCmd)
//}

client := pkg.NewClient(ctx)
if useOauth {
client = pkg.NewOauthClient(ctx)
Expand Down

0 comments on commit 25b2f29

Please sign in to comment.