-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package cmd | ||
|
||
import ( | ||
"github.com/rsteube/carapace" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
var cli_movePaneToNewTabCmd = &cobra.Command{ | ||
Use: "move-pane-to-new-tab", | ||
Short: "Move a pane into a new tab", | ||
Run: func(cmd *cobra.Command, args []string) {}, | ||
} | ||
|
||
func init() { | ||
carapace.Gen(cli_movePaneToNewTabCmd).Standalone() | ||
|
||
cli_movePaneToNewTabCmd.Flags().BoolP("help", "h", false, "Print help") | ||
cli_movePaneToNewTabCmd.Flags().Bool("new-window", false, "Create tab in a new window") | ||
cli_movePaneToNewTabCmd.Flags().String("pane-id", "", "Specify the pane that should be moved") | ||
cli_movePaneToNewTabCmd.Flags().String("window-id", "", "Specify the window into which the new tab will be created") | ||
cli_movePaneToNewTabCmd.Flags().String("workspace", "", "Override the default workspace name with the provided name") | ||
cliCmd.AddCommand(cli_movePaneToNewTabCmd) | ||
|
||
// TODO flag completion | ||
} |