completion

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatCompletion

func FormatCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

FormatCompletion provides completion for output formats

func HierarchicalTabCompletion

func HierarchicalTabCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

HierarchicalTabCompletion provides context-aware completion for tab operations in window context

func HierarchicalWindowCompletion

func HierarchicalWindowCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

HierarchicalWindowCompletion provides context-aware completion for hierarchical window commands

func ProfileCompletion

func ProfileCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

ProfileCompletion provides completion for profile names

func SessionIDCompletion

func SessionIDCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

SessionIDCompletion provides completion for session IDs

func TabIDCompletion

func TabIDCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

TabIDCompletion provides completion for tab IDs

func WindowIDCompletion

func WindowIDCompletion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

WindowIDCompletion provides completion for window IDs (both indices and UUIDs)

Types

type WindowCompletionInfo

type WindowCompletionInfo struct {
	UUID  string
	Index string
	Title string
}

WindowCompletionInfo holds window completion data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL