-
Notifications
You must be signed in to change notification settings - Fork 18
/
git-journal.fish
49 lines (48 loc) · 4.22 KB
/
git-journal.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
function __fish_using_command
set cmd (commandline -opc)
if [ (count $cmd) -eq (count $argv) ]
for i in (seq (count $argv))
if [ $cmd[$i] != $argv[$i] ]
return 1
end
end
return 0
end
return 1
end
complete -c git-journal -n "__fish_using_command git-journal" -s p -l path -d "Sets a custom working path."
complete -c git-journal -n "__fish_using_command git-journal" -s n -l tags-count -d "The number of tags until the parser stops when a single revision is given."
complete -c git-journal -n "__fish_using_command git-journal" -s e -d "A pattern to exclude git tags from the processing."
complete -c git-journal -n "__fish_using_command git-journal" -s t -l template -d "Use a custom output template."
complete -c git-journal -n "__fish_using_command git-journal" -s o -l output -d "The output file for the changelog."
complete -c git-journal -n "__fish_using_command git-journal" -s a -l all -d "Do not stop parsing at the first tag when a single revision is given. Overwrites '-n/--tags-count'."
complete -c git-journal -n "__fish_using_command git-journal" -s g -l generate -d "Generate a fresh output template from a commit range."
complete -c git-journal -n "__fish_using_command git-journal" -s s -l short -d "Print only the shortlog (summary) form."
complete -c git-journal -n "__fish_using_command git-journal" -s u -l skip-unreleased -d "Skip entries without any relation to a git TAG."
complete -c git-journal -n "__fish_using_command git-journal" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal" -f -a "prepare"
complete -c git-journal -n "__fish_using_command git-journal" -f -a "setup"
complete -c git-journal -n "__fish_using_command git-journal" -f -a "verify"
complete -c git-journal -n "__fish_using_command git-journal" -f -a "help"
complete -c git-journal -n "__fish_using_command git-journal" -f -a "help"
complete -c git-journal -n "__fish_using_command git-journal prepare" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal prepare" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal prepare" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal prepare" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal setup" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal setup" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal setup" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal setup" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal verify" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal verify" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal verify" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal verify" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal help" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal help" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal help" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal help" -s V -l version -d "Prints version information"
complete -c git-journal -n "__fish_using_command git-journal help" -s h -l help -d "Prints help information"
complete -c git-journal -n "__fish_using_command git-journal help" -s V -l version -d "Prints version information"