fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
0df6fa791
master
1# fish completion for fossil 2# http://www.fossil-scm.org/ 3 4function __fish_fossil 5command fossil$argv 2> /dev/null 6end 7 8function __fish_fossil_needs_command 9test ( count ( commandline -pxc)) -eq 1 10end 11 12function __fish_fossil_command 13set -l cmd( commandline -pxc) 14test ( count $cmd ) -gt 1 15and contains --$cmd [ 2 ] $argv 16end 17 18function __fish_fossil_subcommand 19set -l cmd( commandline -pxc) 20test ( count $cmd ) -eq 2 21and test $argv [ 1 ] = $cmd [ 2 ] 22end 23 24function __fish_fossil_subsubcommand 25set -l cmd( commandline -pxc) 26test ( count $cmd ) -ge 3 27and test $argv [ 1 ] = $cmd [ 2 ] 28and test $argv [ 2 ] = $cmd [ 3 ] 29end 30 31function __fish_fossil_subsubcommand_only 32set -l cmd( commandline -pxc) 33test ( count $cmd ) -eq 3 34and test $argv [ 1 ] = $cmd [ 2 ] 35and test $argv [ 2 ] = $cmd [ 3 ] 36end 37 38function __fish_fossil_subsubsubcommand_only 39set -l cmd( commandline -pxc) 40test ( count $cmd ) -eq 4 41and test $argv [ 1 ] = $cmd [ 2 ] 42and test $argv [ 2 ] = $cmd [ 3 ] 43and test $argv [ 3 ] = $cmd [ 4 ] 44end 45 46# add 47complete -c fossil -n __fish_fossil_needs_command -a add -x -d'Add files to checkout' 48complete -c fossil -n'__fish_fossil_command add' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 49complete -c fossil -n'__fish_fossil_command add' -l dotfiles -d'Include dotfiles' 50complete -c fossil -n'__fish_fossil_command add' -l ignore -r -d'Files to ignore' 51complete -c fossil -n'__fish_fossil_command add' -l clean -r -d'Files to ignore' 52complete -c fossil -n'__fish_fossil_command add' -a'(__fish_fossil extra --rel-paths)' -x -d File 53 54# addremove 55complete -c fossil -n __fish_fossil_needs_command -a addremove -f -d'Remove and add files to checkout' 56complete -c fossil -n'__fish_fossil_command addremove' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 57complete -c fossil -n'__fish_fossil_command addremove' -l dotfiles -d'Include dotfiles' 58complete -c fossil -n'__fish_fossil_command addremove' -l ignore -r -d'Files to ignore' 59complete -c fossil -n'__fish_fossil_command addremove' -l clean -r -d'Files to ignore' 60complete -c fossil -n'__fish_fossil_command addremove' -s n -l dry-run -d'Display actions without running' 61 62# all 63complete -c fossil -n __fish_fossil_needs_command -a all -f -d'Check all repositories' 64complete -c fossil -n'__fish_fossil_subcommand all' -a changes -f -d'List changes' 65complete -c fossil -n'__fish_fossil_subcommand all' -a ignore -d'Ignore repository' 66complete -c fossil -n'__fish_fossil_subsubcommand all ignore' -x -a'(__fish_fossil all ls)' -d'Ignore repository' 67complete -c fossil -n'__fish_fossil_subcommand all' -a'list ls' -d'Display locations' 68complete -c fossil -n'__fish_fossil_subcommand all' -a pull -d'Pull repositories' 69complete -c fossil -n'__fish_fossil_subcommand all' -a push -d'Push repositories' 70complete -c fossil -n'__fish_fossil_subcommand all' -a rebuild -d'Rebuild repositories' 71complete -c fossil -n'__fish_fossil_subcommand all' -a sync -d'Sync repositories' 72 73# annotate 74complete -c fossil -n __fish_fossil_needs_command -a annotate -d'Shows file modifications' 75complete -c fossil -n'__fish_fossil_command annotate' -l filevers -d'Show file versions' 76complete -c fossil -n'__fish_fossil_command annotate' -s l -l log -d'List all analyzed versions' 77complete -c fossil -n'__fish_fossil_command annotate' -s n -l limit -x -d'Limit analyzed versions' 78 79# bisect 80complete -c fossil -n __fish_fossil_needs_command -a bisect -f -d'Find regressions' 81complete -c fossil -n'__fish_fossil_subcommand bisect' -a bad -x -d'Identify version as not working' 82complete -c fossil -n'__fish_fossil_subcommand bisect' -a good -x -d'Identify version as working' 83complete -c fossil -n'__fish_fossil_subcommand bisect' -a log -d'Show log of bisects in test order' 84complete -c fossil -n'__fish_fossil_subcommand bisect' -a chart -d'Show log of bisects in check-in order' 85complete -c fossil -n'__fish_fossil_subcommand bisect' -a next -d'Skip version' 86complete -c fossil -n'__fish_fossil_subcommand bisect' -a options -d'Show bisect options' 87complete -c fossil -n'__fish_fossil_subsubcommand_only bisect options' -x -a auto-next -d'Automatically run bisect next' 88complete -c fossil -n'__fish_fossil_subsubcommand_only bisect options' -x -a direct-only -d'Follow only primary parent-child links' 89complete -c fossil -n'__fish_fossil_subsubcommand_only bisect options' -x -a display -d'Command to show after bisect next' 90complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options auto-next' -x -a'on off' -d'Automatically run bisect next' 91complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options direct-only' -x -a'on off' -d'Follow only primary parent-child links' 92complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options display' -x -a chart -d'Show log of bisects in check-in order' 93complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options display' -x -a log -d'Show log of bisects in test order' 94complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options display' -x -a status -d'List versions between bad and good' 95complete -c fossil -n'__fish_fossil_subsubsubcommand_only bisect options display' -x -a none -d'Don\'t show anything' 96complete -c fossil -n'__fish_fossil_subcommand bisect' -a reset -d'Reinitialize bisect' 97complete -c fossil -n'__fish_fossil_subcommand bisect' -a'vlist ls status' -d'List versions between bad and good' 98complete -c fossil -n'__fish_fossil_subsubcommand bisect vlist' -s a -l all -d'Show all versions' 99complete -c fossil -n'__fish_fossil_subsubcommand bisect ls' -s a -l all -d'Show all versions' 100complete -c fossil -n'__fish_fossil_subsubcommand bisect status' -s a -l all -d'Show all versions' 101complete -c fossil -n'__fish_fossil_subcommand bisect' -a undo -d'Undo latest bad/good command.' 102 103# branch 104complete -c fossil -n __fish_fossil_needs_command -a branch -f -d'Create a new branch' 105complete -c fossil -n'__fish_fossil_subcommand branch' -a new -x -d'Create new branch' 106complete -c fossil -n'__fish_fossil_subsubcommand branch new' -l private -d'Make branch local' 107complete -c fossil -n'__fish_fossil_subsubcommand branch new' -l bgcolor -x -d'Set background color' 108complete -c fossil -n'__fish_fossil_subsubcommand branch new' -l nosign -d'Don\'t sign the branch with GPG' 109complete -c fossil -n'__fish_fossil_subsubcommand branch new' -l date-override -x -d'Override date' 110complete -c fossil -n'__fish_fossil_subsubcommand branch new' -l user-override -x -d'Override user' 111complete -c fossil -n'__fish_fossil_subcommand branch' -a'list ls' -x -d'List branches' 112complete -c fossil -n'__fish_fossil_subsubcommand branch list' -s a -l all -d'Show all branches' 113complete -c fossil -n'__fish_fossil_subsubcommand branch ls' -s a -l all -d'Show all branches' 114complete -c fossil -n'__fish_fossil_subsubcommand branch list' -s c -l closed -d'Show closed branches' 115complete -c fossil -n'__fish_fossil_subsubcommand branch ls' -s c -l closed -d'Show closed branches' 116complete -c fossil -n'__fish_fossil_command branch' -s R -l repository -r -d'Run command on repository' 117 118# cat 119complete -c fossil -n __fish_fossil_needs_command -a cat -d'Print a file' 120complete -c fossil -n'__fish_fossil_command cat' -s R -l repository -r -d'Run command on repository' 121complete -c fossil -n'__fish_fossil_command cat' -s r -x -a'(__fish_fossil tag list)' -d'Print specific revision' 122 123# changes 124complete -c fossil -n __fish_fossil_needs_command -f -a changes -d'List local changes' 125complete -c fossil -n'__fish_fossil_command changes' -l abs-paths -d'Display absolute paths' 126complete -c fossil -n'__fish_fossil_command changes' -l rel-paths -d'Display relative paths' 127complete -c fossil -n'__fish_fossil_command changes' -l sha1sum -d'Verify file status using SHA1' 128complete -c fossil -n'__fish_fossil_command changes' -l header -d'Identify the repository if there are changes' 129complete -c fossil -n'__fish_fossil_command changes' -s v -l verbose -d'Say (none) if there are no changes' 130 131# checkout 132complete -c fossil -n __fish_fossil_needs_command -f -a'co checkout' -d'Checkout version' 133complete -c fossil -n'__fish_fossil_command co checkout' -x -a'(__fish_fossil tag list)' -d'Version to check out' 134complete -c fossil -n'__fish_fossil_command co checkout' -l force -d'Ignore edited files' 135complete -c fossil -n'__fish_fossil_command co checkout' -l force-missing -d'Ignore missing content' 136complete -c fossil -n'__fish_fossil_command co checkout' -l keep -d'Only update the manifest' 137complete -c fossil -n'__fish_fossil_command co checkout' -l latest -d'Update to latest version' 138 139# clean 140complete -c fossil -n __fish_fossil_needs_command -a clean -d'Delete all extra files' 141complete -c fossil -n'__fish_fossil_command clean' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 142complete -c fossil -n'__fish_fossil_command clean' -l dotfiles -d'Include dotfiles' 143complete -c fossil -n'__fish_fossil_command clean' -l ignore -r -d'Files to ignore' 144complete -c fossil -n'__fish_fossil_command clean' -l clean -r -d'Files to clean without prompting' 145complete -c fossil -n'__fish_fossil_command clean' -s f -l force -d'Remove without prompting' 146complete -c fossil -n'__fish_fossil_command clean' -s n -l dry-run -d'Display actions without running' 147complete -c fossil -n'__fish_fossil_command clean' -l temp -d'Only remove Fossil temporary files' 148complete -c fossil -n'__fish_fossil_command clean' -s v -l verbose -d'Show removed files' 149 150# clone 151complete -c fossil -n __fish_fossil_needs_command -a clone -d'Clone repository' 152complete -c fossil -n'__fish_fossil_command clone' -s A -l admin-user -x -d'Make username an administrator' 153complete -c fossil -n'__fish_fossil_command clone' -l private -d'Clone private branches' 154complete -c fossil -n'__fish_fossil_command clone' -l ssl-identity -r -d'Use SSL identity' 155 156# commit 157complete -c fossil -n __fish_fossil_needs_command -a'ci commit' -d'Create new revision' 158complete -c fossil -n'__fish_fossil_command ci commit' -a'(__fish_fossil changes --rel-paths | cut -c12-)' -x -d File 159complete -c fossil -n'__fish_fossil_command ci commit' -l allow-conflict -d'Allow unresolved merge conflicts' 160complete -c fossil -n'__fish_fossil_command ci commit' -l allow-empty -d'Allow empty check-ins' 161complete -c fossil -n'__fish_fossil_command ci commit' -l allow-fork -d'Allow forking' 162complete -c fossil -n'__fish_fossil_command ci commit' -l allow-older -d'Allow commit older than ancestor' 163complete -c fossil -n'__fish_fossil_command ci commit' -l baseline -d'Use a baseline manifest' 164complete -c fossil -n'__fish_fossil_command ci commit' -l bgcolor -x -d'Apply color to check-in' 165complete -c fossil -n'__fish_fossil_command ci commit' -l branch -x -d'Check-in to new branch' 166complete -c fossil -n'__fish_fossil_command ci commit' -l branchcolor -x -d'Apply color to branch' 167complete -c fossil -n'__fish_fossil_command ci commit' -l close -d'Close the branch' 168complete -c fossil -n'__fish_fossil_command ci commit' -l delta -d'Use a delta manifest' 169complete -c fossil -n'__fish_fossil_command ci commit' -s m -l comment -x -d'Commit comment' 170complete -c fossil -n'__fish_fossil_command ci commit' -s M -l message-file -r -d'Read commit comment from a file' 171complete -c fossil -n'__fish_fossil_command ci commit' -l mimetype -x -d'Mimetype of commit comment' 172complete -c fossil -n'__fish_fossil_command ci commit' -s n -l dry-run -d'Display actions without running' 173complete -c fossil -n'__fish_fossil_command ci commit' -l no-warnings -d'Omit all warnings' 174complete -c fossil -n'__fish_fossil_command ci commit' -l nosign -d'Don\'t sign the branch with GPG' 175complete -c fossil -n'__fish_fossil_command ci commit' -l private -d'Don\'t sync the changes' 176complete -c fossil -n'__fish_fossil_command ci commit' -l tag -x -d'Assign a tag to the checkin' 177 178# diff 179complete -c fossil -n __fish_fossil_needs_command -a'diff gdiff' -d'Show differences' 180complete -c fossil -n'__fish_fossil_command diff gdiff' -l binary -r -d'Binary files glob pattern' 181complete -c fossil -n'__fish_fossil_command diff gdiff' -l branch -x -a'(__fish_fossil tag list)' -d'Show diff of branch' 182complete -c fossil -n'__fish_fossil_command diff gdiff' -l brief -d'Show file names only' 183complete -c fossil -n'__fish_fossil_command diff gdiff' -s c -l context -x -d'Context lines' 184complete -c fossil -n'__fish_fossil_command diff gdiff' -l diff-binary -a'yes no' -x -d'Include binary files' 185complete -c fossil -n'__fish_fossil_command diff gdiff' -s r -l from -x -a'(__fish_fossil tag list)' -d'Select revision to compare with' 186complete -c fossil -n'__fish_fossil_command diff gdiff' -s i -l internal -d'Use internal diff logic' 187complete -c fossil -n'__fish_fossil_command diff gdiff' -s y -l side-by-side -d'Side-by-side diff' 188complete -c fossil -n'__fish_fossil_command diff gdiff' -l tk -d'Launch GUI' 189complete -c fossil -n'__fish_fossil_command diff gdiff' -l to -x -a'(__fish_fossil tag list)' -d'Select revision to compare to' 190complete -c fossil -n'__fish_fossil_command diff gdiff' -l unified -d'Unified diff' 191complete -c fossil -n'__fish_fossil_command diff gdiff' -s v -l verbose -d'Output complete text' 192complete -c fossil -n'__fish_fossil_command diff gdiff' -s W -l width -x -d'Line width in side-by-side diff' 193 194# export 195complete -c fossil -n __fish_fossil_needs_command -a export -d'Export repository to git' 196complete -c fossil -n'__fish_fossil_command export' -l export-marks -r -d'Export rids of exported data to file' 197complete -c fossil -n'__fish_fossil_command export' -l import-marks -r -d'Read rids of data to ignore from file' 198complete -c fossil -n'__fish_fossil_command export' -s R -l repository -r -d'Run command on repository' 199 200# extras 201complete -c fossil -n __fish_fossil_needs_command -a extras -d'Show files that aren\'t part of checkout' 202complete -c fossil -n'__fish_fossil_command extras' -l abs-paths -d'Display absolute paths' 203complete -c fossil -n'__fish_fossil_command extras' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 204complete -c fossil -n'__fish_fossil_command extras' -l dotfiles -d'Include dotfiles' 205complete -c fossil -n'__fish_fossil_command extras' -l ignore -r -d'Files to ignore' 206complete -c fossil -n'__fish_fossil_command extras' -l rel-paths -d'Display relative paths' 207 208# finfo 209complete -c fossil -n __fish_fossil_needs_command -a finfo -d'Print complete file history' 210complete -c fossil -n'__fish_fossil_command finfo' -s b -l brief -d'Display one-line summary' 211complete -c fossil -n'__fish_fossil_command finfo' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 212complete -c fossil -n'__fish_fossil_command finfo' -s l -l log -d'Select log mode (default)' 213complete -c fossil -n'__fish_fossil_command finfo' -s n -l limit -x -d'Limit analyzed versions' 214complete -c fossil -n'__fish_fossil_command finfo' -l offset -x -d'Skip changes' 215complete -c fossil -n'__fish_fossil_command finfo' -s p -l print -d'Select print mode' 216complete -c fossil -n'__fish_fossil_command finfo' -s r -l revision -x -a'(__fish_fossil tag list)' -d'Print specific revision' 217complete -c fossil -n'__fish_fossil_command finfo' -s s -l status -d'Select status mode' 218 219# help 220complete -c fossil -n __fish_fossil_needs_command -f -a help -d'Display help' 221complete -c fossil -n'__fish_fossil_command help' -s a -l all -d'Show main and auxiliary commands' 222complete -c fossil -n'__fish_fossil_command help' -s t -l test -d'Show test commands only' 223complete -c fossil -n'__fish_fossil_command help' -s x -l aux -d'Show auxiliary commands only' 224complete -c fossil -n'__fish_fossil_command help' -s w -l www -d'Show list of web UI pages' 225 226# import 227complete -c fossil -n __fish_fossil_needs_command -a import -d'Import repository from git' 228complete -c fossil -n'__fish_fossil_command import' -l incremental -d'Allow importing into existing repository' 229 230# info 231complete -c fossil -n __fish_fossil_needs_command -a import -d'Provide information about object' 232complete -c fossil -n'__fish_fossil_command import' -s R -l repository -r -d'Run command on repository' 233complete -c fossil -n'__fish_fossil_command import' -s v -l verbose -d'Show extra information' 234 235# init 236complete -c fossil -n __fish_fossil_needs_command -a'init new' -d'Create a repository' 237complete -c fossil -n'__fish_fossil_command init new' -l template -r -d'Copy settings from repository' 238complete -c fossil -n'__fish_fossil_command init new' -s A -l admin-user -r -d'Make username an administrator' 239complete -c fossil -n'__fish_fossil_command init new' -l date-override -x -d'Override date' 240 241# json 242complete -c fossil -n __fish_fossil_needs_command -a json -d'Make JSON request' 243complete -c fossil -n'__fish_fossil_command json' -s R -l repository -r -d'Run command on repository' 244# TODO more 245 246# ls 247complete -c fossil -n __fish_fossil_needs_command -a ls -d'List files' 248complete -c fossil -n'__fish_fossil_command ls' -s r -x -a'(__fish_fossil tag list)' -d Tag 249complete -c fossil -n'__fish_fossil_command ls' -l age -d'Show commit time' 250complete -c fossil -n'__fish_fossil_command ls' -s v -l verbose -d'Provide extra information' 251 252# merge 253complete -c fossil -n __fish_fossil_needs_command -a merge -d'Merge commits' 254complete -c fossil -n'__fish_fossil_command merge' -a'(__fish_fossil tag list)' -d Tag 255complete -c fossil -n'__fish_fossil_command merge' -l baseline -a'(__fish_fossil tag list)' -x -d'Use baseline' 256complete -c fossil -n'__fish_fossil_command merge' -l binary -r -d'Binary files glob pattern' 257complete -c fossil -n'__fish_fossil_command merge' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 258complete -c fossil -n'__fish_fossil_command merge' -s f -l force -d'Allow empty merge' 259complete -c fossil -n'__fish_fossil_command merge' -l integrate -d'Close merged branch' 260complete -c fossil -n'__fish_fossil_command merge' -s n -l dry-run -d'Display actions without running' 261complete -c fossil -n'__fish_fossil_command merge' -s v -l verbose -d'Show extra information' 262 263# mv 264complete -c fossil -n __fish_fossil_needs_command -a mv -d'Move file' 265complete -c fossil -n'__fish_fossil_command mv' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 266 267# open 268complete -c fossil -n __fish_fossil_needs_command -a open -d'Open repository' 269complete -c fossil -n'__fish_fossil_command open' -l keep -d'Only modify manifest' 270complete -c fossil -n'__fish_fossil_command open' -l nested -d'Allow opening inside an opened repository' 271 272# pull 273complete -c fossil -n __fish_fossil_needs_command -a pull -d'Pull from a repository' 274complete -c fossil -n'__fish_fossil_command pull' -s R -l repository -r -d'Run command on repository' 275complete -c fossil -n'__fish_fossil_command pull' -l private -r -d'Pull private branches' 276 277# push 278complete -c fossil -n __fish_fossil_needs_command -a push -d'Push into a repository' 279complete -c fossil -n'__fish_fossil_command push' -s R -l repository -r -d'Run command on repository' 280complete -c fossil -n'__fish_fossil_command push' -l private -d'Pull private branches' 281 282# rebuild 283complete -c fossil -n __fish_fossil_needs_command -a rebuild -d'Rebuild a repository' 284complete -c fossil -n'__fish_fossil_command rebuild' -l cluster -d'Compute clusters' 285complete -c fossil -n'__fish_fossil_command rebuild' -l compress -d'Compress database' 286complete -c fossil -n'__fish_fossil_command rebuild' -l force -d'Force rebuild even with errors' 287complete -c fossil -n'__fish_fossil_command rebuild' -l noverify -d'Skip BLOB table verification' 288complete -c fossil -n'__fish_fossil_command rebuild' -l pagesize -x -a'512 1024 2048 4096 8192 16384 32768 65536' -d'Set the database pagesize' 289complete -c fossil -n'__fish_fossil_command rebuild' -l randomize -d'Scan in random order' 290complete -c fossil -n'__fish_fossil_command rebuild' -l vacuum -d'Run VACUUM' 291complete -c fossil -n'__fish_fossil_command rebuild' -l deanalyze -d'Remove ANALYZE tables' 292complete -c fossil -n'__fish_fossil_command rebuild' -l analyze -d'Run ANALYZE' 293complete -c fossil -n'__fish_fossil_command rebuild' -l wal -d'Set Write-Ahead-Log journalling' 294complete -c fossil -n'__fish_fossil_command rebuild' -l stats -d'Show statistics' 295 296# remote-url 297complete -c fossil -n __fish_fossil_needs_command -a remote-url -d'Default server URL' 298 299# revert 300complete -c fossil -n __fish_fossil_needs_command -f -a revert -d'Revert a commit' 301complete -c fossil -n'__fish_fossil_command revert' -a'(__fish_fossil tag list)' -d Tag 302complete -c fossil -n'__fish_fossil_command revert' -s r -x -a'(__fish_fossil tag list)' -d'Revert back to given revision' 303 304# rm 305complete -c fossil -n __fish_fossil_needs_command -a'rm delete' -d'Remove a file from repository' 306complete -c fossil -n'__fish_fossil_command rm delete' -l hard -d'Remove files from this checkout' 307complete -c fossil -n'__fish_fossil_command rm delete' -l soft -d'Skip removing files from this checkout' 308complete -c fossil -n'__fish_fossil_command rm delete' -s n -l dry-run -d'Display actions without running' 309complete -c fossil -n'__fish_fossil_command rm delete' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 310 311# settings 312complete -c fossil -n __fish_fossil_needs_command -a settings -f -d'Manage settings' 313complete -c fossil -n'__fish_fossil_subcommand settings' -x -a access-log -d'Log accesses' 314complete -c fossil -n'__fish_fossil_subcommand settings' -x -a allow-symlinks -d'Allow symbolic links' 315complete -c fossil -n'__fish_fossil_subcommand settings' -x -a auto-captcha -d'Allow automatically filling CAPTCHA' 316complete -c fossil -n'__fish_fossil_subcommand settings' -x -a auto-hyperlink -d'Use JavaScript to enable hyperlinks' 317complete -c fossil -n'__fish_fossil_subcommand settings' -x -a auto-shun -d'Pull list of shunned references from server' 318complete -c fossil -n'__fish_fossil_subcommand settings' -x -a autosync -d'Automatically sync the repository' 319complete -c fossil -n'__fish_fossil_subcommand settings' -x -a binary-glob -d'Binary files glob pattern' 320complete -c fossil -n'__fish_fossil_subcommand settings' -x -a case-sensitive -d'Case insensitive file matching' 321complete -c fossil -n'__fish_fossil_subcommand settings' -x -a clean-glob -d'Files to clean without prompting' 322complete -c fossil -n'__fish_fossil_subcommand settings' -x -a clearsign -d'Sign commits using GPG' 323complete -c fossil -n'__fish_fossil_subcommand settings' -x -a crnl-glob -d'Non-standard line endings allowed glob pattern' 324complete -c fossil -n'__fish_fossil_subcommand settings' -x -a default-perms -d'Permissions given to new users' 325complete -c fossil -n'__fish_fossil_subcommand settings' -x -a diff-binary -d'Allow binary files to be diffed' 326complete -c fossil -n'__fish_fossil_subcommand settings' -x -a diff-command -d'External diff command' 327complete -c fossil -n'__fish_fossil_subcommand settings' -x -a dont-push -d'Disallow pushing to the repository' 328complete -c fossil -n'__fish_fossil_subcommand settings' -x -a editor -d'Text editor for writing check-in comments' 329complete -c fossil -n'__fish_fossil_subcommand settings' -x -a empty-dirs -d'List of empty directories' 330complete -c fossil -n'__fish_fossil_subcommand settings' -x -a encoding-glob -d'Non-UTF-8 files glob pattern' 331complete -c fossil -n'__fish_fossil_subcommand settings' -x -a gdiff-command -d'Command to use for graphical diff' 332complete -c fossil -n'__fish_fossil_subcommand settings' -x -a gmerge-command -d'Command to use for graphical merge' 333complete -c fossil -n'__fish_fossil_subcommand settings' -x -a http-port -d'HTTP port for fossil ui' 334complete -c fossil -n'__fish_fossil_subcommand settings' -x -a https-login -d'Send login credentials using HTTPS' 335complete -c fossil -n'__fish_fossil_subcommand settings' -x -a ignore-glob -d'Files to ignore glob pattern' 336complete -c fossil -n'__fish_fossil_subcommand settings' -x -a keep-glob -d'Files to keep when cleaning' 337complete -c fossil -n'__fish_fossil_subcommand settings' -x -a localauth -d'Require authentication for localhost logins' 338complete -c fossil -n'__fish_fossil_subcommand settings' -x -a main-branch -d'Primary branch' 339complete -c fossil -n'__fish_fossil_subcommand settings' -x -a manifest -d'Automatically create manifest files' 340complete -c fossil -n'__fish_fossil_subcommand settings' -x -a max-upload -d'HTTP request size limit' 341complete -c fossil -n'__fish_fossil_subcommand settings' -x -a mtime-changes -d'Use modification times' 342complete -c fossil -n'__fish_fossil_subcommand settings' -x -a pgp-command -d'PGP command' 343complete -c fossil -n'__fish_fossil_subcommand settings' -x -a proxy -d'HTTP proxy URL' 344complete -c fossil -n'__fish_fossil_subcommand settings' -x -a relative-paths -d'Report relative paths' 345complete -c fossil -n'__fish_fossil_subcommand settings' -x -a repo-cksum -d'Compute checksums over all files' 346complete -c fossil -n'__fish_fossil_subcommand settings' -x -a self-register -d'Allow users to register themselves' 347complete -c fossil -n'__fish_fossil_subcommand settings' -x -a ssh-command -d'Command to use for SSH protocol' 348complete -c fossil -n'__fish_fossil_subcommand settings' -x -a ssl-ca-location -d'Location of SSL CA root certificates' 349complete -c fossil -n'__fish_fossil_subcommand settings' -x -a ssl-identity -d'SSL private certificate path' 350complete -c fossil -n'__fish_fossil_subcommand settings' -x -a tcl -d'Allow Tcl scripting' 351complete -c fossil -n'__fish_fossil_subcommand settings' -x -a tcl-setup -d'Tcl initialization script' 352complete -c fossil -n'__fish_fossil_subcommand settings' -x -a th1-setup -d'TH1 initialization script' 353complete -c fossil -n'__fish_fossil_subcommand settings' -x -a web-browser -d'Web browser name' 354complete -c fossil -n'__fish_fossil_command settings' -l global -d'Set globally' 355 356# sqlite3 357complete -c fossil -n __fish_fossil_needs_command -a sqlite3 -f -d'Run SQL commands' 358 359# stash 360complete -c fossil -n __fish_fossil_needs_command -a stash -f -d'Manage stashes' 361complete -c fossil -n'__fish_fossil_subcommand stash' -x -a'save snapshot' -d'Save current changes' 362complete -c fossil -n'__fish_fossil_subsubcommand stash save' -s m -l comment -x -d'Stash comment' 363complete -c fossil -n'__fish_fossil_subsubcommand stash snapshot' -s m -l comment -x -d'Stash comment' 364complete -c fossil -n'__fish_fossil_subcommand stash' -x -a'list ls' -d'List all stashes' 365complete -c fossil -n'__fish_fossil_subsubcommand stash list' -s v -l verbose -d'Show information about files' 366complete -c fossil -n'__fish_fossil_subsubcommand stash ls' -s v -l verbose -d'Show information about files' 367complete -c fossil -n'__fish_fossil_subcommand stash' -x -a show -d'Show stash contents' 368complete -c fossil -n'__fish_fossil_subcommand stash' -x -a pop -d'Pop last stash' 369complete -c fossil -n'__fish_fossil_subcommand stash' -x -a apply -d'Apply stash' 370complete -c fossil -n'__fish_fossil_subcommand stash' -x -a goto -d'Updates to stash state' 371complete -c fossil -n'__fish_fossil_subcommand stash' -x -a'drop rm' -d'Forget about stash' 372complete -c fossil -n'__fish_fossil_subsubcommand stash drop' -s a -l all -d'Forget ALL stashes' 373complete -c fossil -n'__fish_fossil_subsubcommand stash rm' -s a -l all -d'Forget ALL stashes' 374complete -c fossil -n'__fish_fossil_subcommand stash' -x -a goto -d'Compare stash' 375 376# status 377complete -c fossil -n __fish_fossil_needs_command -a status -f -d'Show status' 378complete -c fossil -n'__fish_fossil_command status' -l abs-paths -d'Display absolute paths' 379complete -c fossil -n'__fish_fossil_command status' -l rel-paths -d'Display relative paths' 380complete -c fossil -n'__fish_fossil_command status' -l sha1sum -d'Verify file status using SHA1' 381 382# sync 383complete -c fossil -n __fish_fossil_needs_command -a sync -d'Sync with a repository' 384complete -c fossil -n'__fish_fossil_command sync' -s R -l repository -r -d'Run command on repository' 385complete -c fossil -n'__fish_fossil_command sync' -l private -r -d'Sync private branches' 386 387# tag 388complete -c fossil -n __fish_fossil_needs_command -a tag -d'Manage tags' 389complete -c fossil -n'__fish_fossil_subcommand tag' -x -a add -d'Add tag to check-in' 390complete -c fossil -n'__fish_fossil_subsubcommand tag add' -l raw -d'Add raw tag' 391complete -c fossil -n'__fish_fossil_subsubcommand tag add' -l propagate -d'Propagate tag' 392complete -c fossil -n'__fish_fossil_subcommand tag' -x -a remove -d'Remove tag from check-in' 393complete -c fossil -n'__fish_fossil_subsubcommand tag remove' -a'(__fish_fossil tag list)' -d Tag 394complete -c fossil -n'__fish_fossil_subsubcommand tag remove' -l raw -d'Remove raw tag' 395complete -c fossil -n'__fish_fossil_subcommand tag' -x -a find -d'Find tag' 396complete -c fossil -n'__fish_fossil_subsubcommand tag find' -l raw -d'Find raw tag' 397complete -c fossil -n'__fish_fossil_subsubcommand tag find' -s t -l type -x -a'ci e' -d'Find tag type' 398complete -c fossil -n'__fish_fossil_subsubcommand tag find' -s n -l limit -x -d'Limit number of tags' 399complete -c fossil -n'__fish_fossil_subsubcommand tag find' -a'(__fish_fossil tag list)' -d Tag 400complete -c fossil -n'__fish_fossil_subcommand tag' -x -a list -d'List tags' 401complete -c fossil -n'__fish_fossil_subsubcommand tag list' -l raw -d'List raw tags' 402 403# timeline 404complete -c fossil -n __fish_fossil_needs_command -a timeline -d'Show timeline' 405complete -c fossil -n'__fish_fossil_command timeline' -s n -l limit -x -d'Limit timeline entries' 406complete -c fossil -n'__fish_fossil_command timeline' -s t -l type -x -a'ci e t w' -d'Output only event type' 407complete -c fossil -n'__fish_fossil_command timeline' -s v -l verbose -d'Output list of files changed' 408 409# ui 410complete -c fossil -n __fish_fossil_needs_command -a ui -d'Open web UI' 411complete -c fossil -n __fish_fossil_needs_command -a server -d'Start web server' 412complete -c fossil -n'__fish_fossil_command ui server' -l localauth -d'Enable automatic login for localhost' 413complete -c fossil -n'__fish_fossil_command server' -l localhost -d'Only listen on localhost' 414complete -c fossil -n'__fish_fossil_command ui server' -s P -l port -d'Port to listen on' 415complete -c fossil -n'__fish_fossil_command ui server' -l th-trace -d'Trace TH1 execution' 416complete -c fossil -n'__fish_fossil_command ui server' -l baseurl -d'Use base URL' 417complete -c fossil -n'__fish_fossil_command ui server' -l notfound -d Redirect 418complete -c fossil -n'__fish_fossil_command ui server' -l files -d'Static files glob' 419complete -c fossil -n'__fish_fossil_command ui server' -l scgi -d'Use SCGI rather than HTTP' 420 421# undo 422complete -c fossil -n __fish_fossil_needs_command -a undo -d'Undo the changes' 423complete -c fossil -n'__fish_fossil_command undo' -s n -l dry-run -d'Display actions without running' 424 425# update 426complete -c fossil -n __fish_fossil_needs_command -a update -d'Update version' 427complete -c fossil -n'__fish_fossil_command update' -l case-sensitive -x -a'yes no' -d'Case insensitive file matching' 428complete -c fossil -n'__fish_fossil_command update' -l debug -d'Print debug information' 429complete -c fossil -n'__fish_fossil_command update' -l latest -d'Update to latest version' 430complete -c fossil -n'__fish_fossil_command update' -s n -l dry-run -d'Display actions without running' 431complete -c fossil -n'__fish_fossil_command update' -s v -l verbose -d'Print information about all files' 432 433# version 434complete -c fossil -n __fish_fossil_needs_command -a version -d'Print fossil version' 435complete -c fossil -n'__fish_fossil_command version' -s v -l verbose -d'Print version of optional features' 436 437# --help 438complete -c fossil -l help -d'Print help'