diff --git a/completions/fish.py b/completions/fish.py new file mode 100644 index 000000000..11af18ea7 --- /dev/null +++ b/completions/fish.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 + +import json, subprocess + +if __name__ == "__main__": + data: dict[str, str] = json.loads(subprocess.check_output(['fastfetch', '--help-raw'])) + for item in data: + print(item)