/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. #set( $goalhelp = "Enables a command-line interface to the plugin development kit." )
  3. #set( $opts = [
  4. {
  5. 'name' : 'http-port',
  6. 'short' : 'p',
  7. 'maven' : 'http.port',
  8. 'description' : 'HTTP port for the servlet container.',
  9. 'example' : '8080'
  10. },{
  11. 'name' : 'context-path',
  12. 'maven' : 'context.path',
  13. 'description' : 'Application context path (include the leading forward slash).',
  14. 'example' : '/myapp'
  15. },{
  16. 'name' : 'server',
  17. 'maven' : 'server',
  18. 'description' : 'Host name of the application server (default is localhost).',
  19. 'example' : 'localhost'
  20. },{
  21. 'name' : 'cli-port',
  22. 'maven' : 'cli.port',
  23. 'description' : 'The port the CLI will listen to for commands (default is 4330).',
  24. 'example' : '4330'
  25. }] )