From 692c6ae11834f9a95f01cd0bac2b78df94052031 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Thu, 22 Jul 2021 14:33:40 +0530 Subject: [PATCH] Add completions for `git-sizer` --- share/completions/git-sizer.fish | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 share/completions/git-sizer.fish diff --git a/share/completions/git-sizer.fish b/share/completions/git-sizer.fish new file mode 100644 index 000000000..7fa355ea4 --- /dev/null +++ b/share/completions/git-sizer.fish @@ -0,0 +1,24 @@ +# Completions for git-sizer + +complete -f -c git-sizer -l help -d "Display help for Git Sizer" +complete -f -c git-sizer -s v -l verbose -d "Report all statistics" +complete -x -c git-sizer -l threshold -d "Minimum level of concern" +complete -f -c git-sizer -l critical -d "Only report critical statistics" +complete -x -c git-sizer -l names -d "How to display names of large objects" -a " + none\t'Omit footnotes entirely' + hash\t'Only show SHA-1s' + full\t'Show full names' +" +complete -f -c git-sizer -s j -l json -d "Output results in JSON format" +complete -x -c git-sizer -l json-version -d "JSON format version to use" -a "1 2" +complete -f -c git-sizer -l progress -d "Report progress to stderr" +complete -f -c git-sizer -l no-progress -d "Don't report progress to stderr" +complete -f -c git-sizer -l version -d "Output git-sizer version" +complete -x -c git-sizer -l branches -d "Process branches" +complete -x -c git-sizer -l tags -d "Process tags" +complete -x -c git-sizer -l remotes -d "Process remote refs" +complete -x -c git-sizer -l include -d "Process refs with specified PREFIX" +complete -x -c git-sizer -l exclude -d "Don't process refs with specified PREFIX" +complete -x -c git-sizer -l include-regexp -d "Process refs matching specified regex" +complete -x -c git-sizer -l exclude-regexp -d "Don't process refs matching specified regex" +complete -f -c git-sizer -l show-refs -d "Show refs which are being included/excluded"