Skip to content

Commit

Permalink
Merge pull request #1109 from rsteube/tmux-killwindow
Browse files Browse the repository at this point in the history
tmux: kill-window
  • Loading branch information
rsteube authored May 9, 2022
2 parents 6488d3d + d29a629 commit 6f97bfc
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ import (
)

var killWindowCmd = &cobra.Command{
Use: "kill-window",
Short: "",
Run: func(cmd *cobra.Command, args []string) {},
Use: "kill-window",
Aliases: []string{"killw"},
Short: "destroy a given window",
Run: func(cmd *cobra.Command, args []string) {},
}

func init() {
carapace.Gen(killWindowCmd).Standalone()

killWindowCmd.Flags().BoolS("a", "a", false, "TODO description")
killWindowCmd.Flags().StringS("t", "t", "", "target-window")
killWindowCmd.Flags().BoolS("a", "a", false, "kill all windows except the one specified by -t")
killWindowCmd.Flags().StringS("t", "t", "", "specify target window")
rootCmd.AddCommand(killWindowCmd)

carapace.Gen(killWindowCmd).FlagCompletion(carapace.ActionMap{
Expand Down

0 comments on commit 6f97bfc

Please sign in to comment.