From 87845f52f18e1dedc963f1c7a86b33f3248d21fe Mon Sep 17 00:00:00 2001 From: triallax Date: Wed, 20 Sep 2023 19:54:16 +0100 Subject: completions: add fish completions. --- fish/completions/xpkgdiff.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fish/completions/xpkgdiff.fish (limited to 'fish/completions/xpkgdiff.fish') diff --git a/fish/completions/xpkgdiff.fish b/fish/completions/xpkgdiff.fish new file mode 100644 index 0000000..58272d8 --- /dev/null +++ b/fish/completions/xpkgdiff.fish @@ -0,0 +1,12 @@ +complete -c xpkgdiff -f +complete -c xpkgdiff -s c -d 'Compare a file from package' -rF +complete -c xpkgdiff -s S -d 'Compare package metadata' +complete -c xpkgdiff -s f -d 'Compare package file lists' +complete -c xpkgdiff -s r -d 'Reverse diff (compare local to remote)' +complete -c xpkgdiff -s R -d 'Set remote repo URL' -xa '(__xtools_complete_repo_urls)' +complete -c xpkgdiff -s x -d 'Compare package dependencies' +complete -c xpkgdiff -s t -d 'Compare the full package dependency tree for -x' +complete -c xpkgdiff -s a -d 'Set architecture for comparison' -xa '(__xtools_complete_archs)' +# TODO: complete package properties +complete -c xpkgdiff -s p -d 'Compare package properties' -x +complete -c xpkgdiff -a '(__xtools_complete_packages)' -- cgit 1.4.1