/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
- #set( $mvnCommand = "com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:$version:cli" )
- #set( $goalhelp = "Enables a command-line interface to the plugin development kit." )
- #set( $opts = [
- {
- 'name' : 'http-port',
- 'short' : 'p',
- 'maven' : 'http.port',
- 'description' : 'HTTP port for the servlet container.',
- 'example' : '8080'
- },{
- 'name' : 'context-path',
- 'maven' : 'context.path',
- 'description' : 'Application context path (include the leading forward slash).',
- 'example' : '/myapp'
- },{
- 'name' : 'server',
- 'maven' : 'server',
- 'description' : 'Host name of the application server (default is localhost).',
- 'example' : 'localhost'
- },{
- 'name' : 'cli-port',
- 'maven' : 'cli.port',
- 'description' : 'The port the CLI will listen to for commands (default is 4330).',
- 'example' : '4330'
- }] )