fish-shell/share/completions/pabcnetcclear.fish
Emily Grace Seville d7c62fa7d1
pabcnetcclear command completion update (#8480)
* Rename pabcnetcclear complete

* Code clean-up

* Debug values support

* Change /Debug description

* Standardize help

* Use single quotes for --arguments
2021-11-27 11:06:08 +01:00

18 lines
577 B
Fish

function __pabcnetcclear_generate_args --description 'Function to generate args'
set --local current_token (commandline --current-token --cut-at-cursor)
switch $current_token
case '/Debug:*'
echo -e $current_token"0\tEnable generation
$current_token"1"\tDisable generation"
case '*'
echo -e "/Help\tShow help
/H\tShow help
/?\tShow help
/Debug\tGenerate a code debug info
/output\tSpecify an executable name
/SearchDir\tSpecify a path to search units"
end
end
complete --command pabcnetcclear --no-files --arguments '(__pabcnetcclear_generate_args)'