PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/atlassian-plugin-sdk/src/main/velocity/commands/cli

https://bitbucket.org/mmeinhold/amps
#! | 27 lines | 25 code | 2 blank | 0 comment | 0 complexity | f8ed2c21ae0ffa12ebb5ef1f954d722a MD5 | raw file
 1#set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:cli" )
 2
 3#set( $goalhelp = "Enables a command-line interface to the plugin development kit." )
 4
 5#set( $opts = [
 6{
 7  'name' : 'http-port',
 8  'short' : 'p',
 9  'maven' : 'http.port',
10  'description' : 'HTTP port for the servlet container.',
11  'example' : '8080'
12},{
13  'name' : 'context-path',
14  'maven' : 'context.path',
15  'description' : 'Application context path (include the leading forward slash).',
16  'example' : '/myapp'
17},{
18  'name' : 'server',
19  'maven' : 'server',
20  'description' : 'Host name of the application server (default is localhost).',
21  'example' : 'localhost'
22},{
23  'name' : 'cli-port',
24  'maven' : 'cli.port',
25  'description' : 'The port the CLI will listen to for commands (default is 4330).',
26  'example' : '4330'
27}] )