psanford / wormhole-william

End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
MIT License
1.08k stars 55 forks source link

Add dynamic shell completions #36

Closed psanford closed 3 years ago

psanford commented 3 years ago

This allows for shell completions of recv codes.

A new command shell-completion has been added with will generate the necessary shell config to enable completions for wormhole-william. See wormhole-william shell-completion --help for more details.

Upgrade spf13/cobra to a new enough version to get the recent shell completion enhancements.