Completions for bashly executable¶ ↑
This directory contains templates for generating bash completions.
For developers¶ ↑
From the root directory of the repository, run run completions
. This will:
-
Read the
completely.yaml.gtx
template -
Write the
completely.yaml
file (to allow testing with completely) -
Generate the
bashly-completions.bash
file -
Copy it to the completions directory with
sudo
Note that for production use, only the bashly-completions.bash
is used.
For users¶ ↑
Install completions in one of two ways:
-
Run
bashly completions --install
. This will make a best effort to copy the completions script to your completions directory. -
If the above fails, run
bashly completions > out.bash
, then copy the file manually to your completions directory (or simply get thebashly-completions.bash
from this directory).