Documentation
¶
Index ¶
- Variables
- func NewAddCommand(aliasSuggestionService ports.AliasSuggestionService, ...) *cobra.Command
- func NewAddPredefinedCommand(suggestionSvc ports.AliasSuggestionService, ...) *cobra.Command
- func NewListCommand(aliasManagementService ports.AliasManagementService) *cobra.Command
- func NewRootCommand(version string, suggestionService ports.AliasSuggestionService, ...) *cobra.Command
- func NewSuggestCommand(aliasSuggestionService ports.AliasSuggestionService) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFZFCancelled = errors.New("fzf selection cancelled by user")
ErrFZFCancelled indicates that the user cancelled the fzf selection (e.g., by pressing Esc or Ctrl-C).
View Source
var ErrFZFNotFound = errors.New("fzf binary not found in PATH")
ErrFZFNotFound indicates that the fzf binary was not found in PATH.
Functions ¶
func NewAddCommand ¶
func NewAddCommand( aliasSuggestionService ports.AliasSuggestionService, aliasManagementService ports.AliasManagementService, ) *cobra.Command
func NewAddPredefinedCommand ¶
func NewAddPredefinedCommand( suggestionSvc ports.AliasSuggestionService, managementSvc ports.AliasManagementService, ) *cobra.Command
NewAddPredefinedCommand creates the command for adding all predefined aliases.
func NewListCommand ¶
func NewListCommand(aliasManagementService ports.AliasManagementService) *cobra.Command
NewListCommand creates the 'list' subcommand.
func NewRootCommand ¶
func NewRootCommand( version string, suggestionService ports.AliasSuggestionService, managementService ports.AliasManagementService, ) *cobra.Command
func NewSuggestCommand ¶
func NewSuggestCommand(aliasSuggestionService ports.AliasSuggestionService) *cobra.Command
NewSuggestCommand creates the 'show' subcommand.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.