Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 63 lines (60 sloc) 3.686 kb
ed2b1fd @nicoulaj #45 jmeter-plugins: fix command name
nicoulaj authored
1 #compdef jmeter-plugins
376504b @nicoulaj #45 jmeter-plugins: Add JMeterPluginsCMD completion
nicoulaj authored
2 # ------------------------------------------------------------------------------
3 # Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
4 # All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met:
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above copyright
11 # notice, this list of conditions and the following disclaimer in the
12 # documentation and/or other materials provided with the distribution.
13 # * Neither the name of the zsh-users nor the
14 # names of its contributors may be used to endorse or promote products
15 # derived from this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 # DISCLAIMED. IN NO EVENT SHALL ZSH-USERS BE LIABLE FOR ANY
21 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 # ------------------------------------------------------------------------------
28 # Description
29 # -----------
30 #
31 # Completion script for jmeter-plugins command line tool 0.4.2
32 # (http://code.google.com/p/jmeter-plugins).
33 #
34 # ------------------------------------------------------------------------------
35 # Authors
36 # -------
37 #
38 # * Julien Nicoulaud <julien.nicoulaud@gmail.com>
39 #
40 # ------------------------------------------------------------------------------
41 # -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
42 # vim: ft=zsh sw=2 ts=2 et
43 # ------------------------------------------------------------------------------
44
45
28e2c14 @nicoulaj #45 jmeter-plugins: remove unneded wrapper function
nicoulaj authored
46 _arguments \
47 '(- 1 *)--help[show help options]' \
48 '--generate-png[generate PNG file containing graph]:PNG file name:_files -g "*.png"' \
49 '--generate-csv[generate CSV file containing graph data]:CSV file name:_files -g "*.csv"' \
50 '--input-jtl[load data from specified JTL file]:JTL file:_files -g "*.jtl"' \
0f18e7e @nicoulaj #45 jmeter-plugins: complete plugin type names
nicoulaj authored
51 '--plugin-type[type of graph to use for results generation]:class:((AggregateReport ThreadsStateOverTime BytesThroughputOverTime HitsPerSecond LatenciesOverTime PerfMon ResponseCodesPerSecond ResponseTimesDistribution ResponseTimesOverTime ResponseTimesPercentiles ThroughputOverTime ThroughputVsThreads TimesVsThreads TransactionsPerSecond))' \
28e2c14 @nicoulaj #45 jmeter-plugins: remove unneded wrapper function
nicoulaj authored
52 '--width[set graph width]:graph width (pixels)' \
53 '--height[set graph height]::graph height (pixels)' \
54 '--granulation[granulation time for samples]:time (ms)' \
55 '--relative-times[use relative X axis times, no will set absolute times]: :((yes no))' \
56 '--aggregate-rows[aggregate all rows into one]: :((yes no))' \
57 '--paint-gradient[paint gradient background]: :((yes no))' \
58 '--paint-zeroing[paint zeroing lines]: :((yes no))' \
59 '--prevent-outliers[prevent outliers on distribution graph]: :((yes no))' \
60 '--limit-rows[limit number of points in row]:number of points' \
61 '--force-y[force Y axis limit]:limit' \
62 '--hide-low-counts[hide points with sample count below limit]:limit'
Something went wrong with that request. Please try again.