about summary refs log tree commit diff
path: root/fish/completions/xpkgdiff.fish
diff options
context:
space:
mode:
authortriallax <triallax@tutanota.com>2023-09-20 19:54:16 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-10-22 01:28:11 +0200
commit87845f52f18e1dedc963f1c7a86b33f3248d21fe (patch)
tree0f1a5cccff4b706bb05fe25a9a125d297305b9d5 /fish/completions/xpkgdiff.fish
parenta3742437505609e847ba7e59c60ea395e708e729 (diff)
downloadxtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.gz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.xz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.zip
completions: add fish completions.
Diffstat (limited to 'fish/completions/xpkgdiff.fish')
-rw-r--r--fish/completions/xpkgdiff.fish12
1 files changed, 12 insertions, 0 deletions
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)'