summaryrefslogtreecommitdiff
path: root/extra/alacritty-msg.man
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-11-19 23:34:40 +0000
committerGitHub <noreply@github.com>2021-11-19 23:34:40 +0000
commitc89939b5d14e581e1aeaa940d81843192e0abc79 (patch)
tree8a78647fbb23b3fde68339ca2a2c9599315c7094 /extra/alacritty-msg.man
parentb0da035e9ecabfa13438386a6ce87072b7cc3c98 (diff)
downloadalacritty-c89939b5d14e581e1aeaa940d81843192e0abc79.tar.gz
alacritty-c89939b5d14e581e1aeaa940d81843192e0abc79.zip
Switch to clap-generated completions
The current completions required a lot of domain-specific knowledge about each individual shell and their completion functionality. Much of which is sparsely documented. While clap does not generate perfect completions, since parameters like `-e` are missing completions, it does a reasonable job while requiring no work on writing these completions. Since access to `cli.rs` isn't possible from the `build.rs`, these completions aren't always generated on build. Instead a test verifies that there has been no changes to these completions and provides a simple code sample for re-generating them. This should provide a simple solution with minimal overhead.
Diffstat (limited to 'extra/alacritty-msg.man')
0 files changed, 0 insertions, 0 deletions