Skip to content

Conversation

@cilginc
Copy link
Contributor

@cilginc cilginc commented Oct 16, 2025

The issue #5 can be closed after merge.

Please merge this PR first.

Added shell completions and rewrote the handling of completion parameters and flags.


Hexecute Usage

❯ ./hexecute               
Launch apps by casting spells!

Usage:
  hexecute [command]

Available Commands:
  completion  Get completions for your favorite shell
  help        Help about any command
  learn       Learn a new gesture for the specified command
  list        List all registered gestures
  remove      Remove a gesture by command name
  run         Run the program

Flags:
  -h, --help     Help for hexecute
  -t, --toggle   Help message for toggle

Use "hexecute [command] --help" for more information about a command.

Completion Command

❯ ./hexecute completion   
Get completions for your favorite shell

Usage:
  hexecute completion [bash|zsh|fish]

Flags:
  -h, --help   Help for completion

Comments on the parameters can still be improved, but this is enough for now.

I will also include shell completions in my AUR package, so users won’t need to explicitly call eval "$(hexecute completion zsh)" in their shell configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants