Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add completions for Python scripts #768

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions completions/advanced_statistics.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set command advanced_statistics.py

complete -c $command \
-s h \
-l help \
-d 'Show help'
65 changes: 65 additions & 0 deletions completions/plot_histogram.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
set command plot_histogram.py

complete -c $command -f

complete -c $command \
-s h \
-l help \
-d 'Show help'

complete -c $command \
-l title \
-d 'Specify a plot title'

complete -c $command \
-l labels \
-d 'Specify comma separated entries for the legend'

complete -c $command \
-a 'auto\tdefault' \
-l bins \
-d 'Specify a number of bins'

complete -c $command \
-a '"upper center"\tdefault
"lower center"
"right"
"left"
"best"
"upper left"
"upper right"
"lower left"
"lower right"
"center left"
"center right"
"center"' \
-l legend-location \
-d 'Specify a legend location' \
-x

complete -c $command \
-a 'bar\tdefault
barstacked
step
stepfilled' \
-l type \
-d 'Specify a type of the histogram' \
-x

complete -c $command \
-s o \
-l output \
-d 'Specify an output file' \
-F -r

complete -c $command \
-l t-min \
-d 'Specify a minimum time'

complete -c $command \
-l t-max \
-d 'Specify a maximum time'

complete -c $command \
-l log-count \
-d 'Specify a logarithmic y-axis for the event count'
26 changes: 26 additions & 0 deletions completions/plot_parametrized.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
set command plot_parametrized.py

complete -c $command -f

complete -c $command \
-s h \
-l help \
-d 'Show help'

complete -c $command \
-l log-x \
-d 'Use a logarithmic x axis'

complete -c $command \
-l log-time \
-d 'Use a logarithmic time axis'

complete -c $command \
-l titles \
-d 'Specify comma separated titles for the legend'

complete -c $command \
-s o \
-l output \
-d 'Specify an output file' \
-F -r
27 changes: 27 additions & 0 deletions completions/plot_progression.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
set command plot_progression.py

complete -c $command -f

complete -c $command \
-s h \
-l help \
-d 'Show help'

complete -c $command \
-l title \
-d 'Specify a plot title'

complete -c $command \
-s o \
-l output \
-d 'Specify an output file' \
-F -r

complete -c $command \
-s w \
-l moving-average-width \
-d 'Specify width of the moving-average window'

complete -c $command \
-l no-moving-average \
-d 'Do not show moving average curve'
27 changes: 27 additions & 0 deletions completions/plot_whisker.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
set command plot_whisker.py

complete -c $command -f

complete -c $command \
-s h \
-l help \
-d 'Show help'

complete -c $command \
-l title \
-d 'Specify a plot title'

complete -c $command \
-a 'median\tdefault' \
-l sort-by \
-d 'Specify a sorting method'

complete -c $command \
-l labels \
-d 'Specify comma separated entries for the legend'

complete -c $command \
-s o \
-l output \
-d 'Specify an output file' \
-F -r