home-config/fish/completions/tide.fish
c5bc1749c7a31d17fb5a3a122674e078086bb7d2
· 777 B · 13 lines
raw
| 1 | complete tide --no-files |
| 2 | |
| 3 | set -l subcommands bug-report configure reload |
| 4 | |
| 5 | complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports" |
| 6 | complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard" |
| 7 | complete tide -x -n __fish_use_subcommand -a reload -d "Reload tide configuration" |
| 8 | |
| 9 | complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message" |
| 10 | complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version" |
| 11 | |
| 12 | complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide" |
| 13 | complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration" |