Advertisement
milieu

Play Framework 2.1.1 help commands paste

Jun 27th, 2013
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. C:\Users\Meredith\audittracker>play
  2. [info] Loading project definition from C:\Users\Meredith\audittracker\project
  3. [info] Set current project to ats (in build file:/C:/Users/Meredith/audittracker/)
  4. _ _
  5. _ __ | | __ _ _ _| |
  6. | '_ \| |/ _' | || |_|
  7. | __/|_|\____|\__ (_)
  8. |_| |__/
  9.  
  10. play! 2.1.1 (using Java 1.7.0_21 and Scala 2.10.0), http://www.playframework.org
  11.  
  12. > Type "help play" or "license" for more information.
  13. > Type "exit" or use Ctrl+D to leave this console.
  14.  
  15. [ats] $ help
  16.  
  17. play Enter the play console
  18. help Displays this help message or prints detailed help on requested commands (run 'help <command>').
  19. about Displays basic information about sbt and the build.
  20. tasks Lists the tasks defined for the current project.
  21. settings Lists the settings defined for the current project.
  22. reload (Re)loads the project in the current directory
  23. projects Lists the names of available projects or temporarily adds/removes extra builds to the session.
  24. project Displays the current project or changes to the provided `project`.
  25. set Evaluates a Setting and applies it to the current project.
  26. session Manipulates session settings. For details, run 'help session'.
  27. inspect Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies.
  28. ; <command> (; <command>)* Runs the provided semicolon-separated commands.
  29. ~ <command> Executes the specified command whenever source files change.
  30. last Displays output from a previous command or the output from a specific task.
  31. last-grep Shows lines from the last output for 'key' that match 'pattern'.
  32. exit Terminates the build.
  33. show <key> Displays the result of evaluating the setting or task associated with 'key'.
  34.  
  35. More command help available using 'help <command>' for:
  36. !, -, <, alias, append, apply, eval, iflast, reboot, shell
  37.  
  38. [ats] $ project
  39. [info] ats (in build file:/C:/Users/Meredith/audittracker/)
  40. [ats] $ help project
  41. project
  42.  
  43. Displays the name of the current project.
  44.  
  45. project name
  46.  
  47. Changes to the project with the provided name.
  48. This command fails if there is no project with the given name.
  49.  
  50. project {uri}
  51.  
  52. Changes to the root project in the build defined by `uri`.
  53. `uri` must have already been declared as part of the build, such as with Project.dependsOn.
  54.  
  55. project {uri}name
  56.  
  57. Changes to the project `name` in the build defined by `uri`.
  58. `uri` must have already been declared as part of the build, such as with Project.dependsOn.
  59.  
  60. project /
  61.  
  62. Changes to the initial project.
  63.  
  64. project ..
  65.  
  66. Changes to the parent project of the current project.
  67. If there is no parent project, the current project is unchanged.
  68.  
  69. Use n+1 dots to change to the nth parent.
  70. For example, 'project ....' is equivalent to three consecutive 'project ..' commands.
  71. [ats] $ help play
  72. Welcome to Play 2.1.1!
  73.  
  74. These commands are available:
  75. -----------------------------
  76. classpath Display the project classpath.
  77. clean Clean all generated files.
  78. compile Compile the current application.
  79. console Launch the interactive Scala console (use :quit to exit).
  80. dependencies Display the dependencies summary.
  81. dist Construct standalone application package.
  82. exit Exit the console.
  83. h2-browser Launch the H2 Web browser.
  84. license Display licensing informations.
  85. package Package your application as a JAR.
  86. play-version Display the Play version.
  87. publish Publish your application in a remote repository.
  88. publish-local Publish your application in the local repository.
  89. reload Reload the current application build file.
  90. run <port> Run the current application in DEV mode.
  91. test Run Junit tests and/or Specs from the command line
  92. eclipse generate eclipse project file
  93. idea generate Intellij IDEA project file
  94. sh <command to run> execute a shell command
  95. start <port> Start the current application in another JVM in PROD mode.
  96. update Update application dependencies.
  97.  
  98. Type `help` to get the standard sbt help.
  99.  
  100. [ats] $ help
  101.  
  102. play Enter the play console
  103. help Displays this help message or prints detailed help on requested commands (run 'help <command>').
  104. about Displays basic information about sbt and the build.
  105. tasks Lists the tasks defined for the current project.
  106. settings Lists the settings defined for the current project.
  107. reload (Re)loads the project in the current directory
  108. projects Lists the names of available projects or temporarily adds/removes extra builds to the session.
  109. project Displays the current project or changes to the provided `project`.
  110. set Evaluates a Setting and applies it to the current project.
  111. session Manipulates session settings. For details, run 'help session'.
  112. inspect Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies.
  113. ; <command> (; <command>)* Runs the provided semicolon-separated commands.
  114. ~ <command> Executes the specified command whenever source files change.
  115. last Displays output from a previous command or the output from a specific task.
  116. last-grep Shows lines from the last output for 'key' that match 'pattern'.
  117. exit Terminates the build.
  118. show <key> Displays the result of evaluating the setting or task associated with 'key'.
  119.  
  120. More command help available using 'help <command>' for:
  121. !, -, <, alias, append, apply, eval, iflast, reboot, shell
  122.  
  123. [ats] $ help tasks
  124.  
  125. Syntax summary
  126. tasks [-(v|-vv|...|-V)] [<filter>]
  127.  
  128. tasks
  129. Displays the main tasks defined directly or indirectly for the current project.
  130.  
  131. -v
  132. Displays additional tasks. More 'v's increase the number of tasks displayed.
  133.  
  134. -V
  135. displays all tasks
  136.  
  137. <filter>
  138. Restricts the tasks that are displayed. The names of tasks are searched for an exact match against the filter, in which case only the description of the exact match is displayed. Otherwise,
  139. the filter is interpreted as a regular expression and all tasks whose name or description match the regular expression are displayed. Note that this is an additional filter on top of the tasks select
  140. ed by the -v style switches, so you must specify -V to search all tasks. Use the help command to search all commands, tasks, and settings at once.
  141.  
  142. [ats] $ tasks
  143.  
  144. This is a list of tasks defined for the current project.
  145. It does not list the scopes the tasks are defined in; use the 'inspect' command for that.
  146. Tasks produce values. Use the 'show' command to run the task and print the resulting value.
  147.  
  148. clean Deletes files produced by the build, such as generated sources, compiled classes, and task caches.
  149. compile Compiles sources.
  150. console Starts the Scala interpreter with the project classes on the classpath.
  151. console-project Starts the Scala interpreter with the sbt and the build definition on the classpath and useful imports.
  152. console-quick Starts the Scala interpreter with the project dependencies on the classpath.
  153. copy-resources Copies resources to the output directory.
  154. doc Generates API documentation.
  155. package Produces the main artifact, such as a binary jar. This is typically an alias for the task that actually does the packaging.
  156. package-bin Produces a main artifact, such as a binary jar.
  157. package-doc Produces a documentation artifact, such as a jar containing API documentation.
  158. package-src Produces a source artifact, such as a jar containing sources and resources.
  159. publish Publishes artifacts to a repository.
  160. publish-local Publishes artifacts to the local repository.
  161. run Runs a main class, passing along arguments provided on the command line.
  162. run-main Runs the main class selected by the first argument, passing the remaining arguments to the main method.
  163. test Executes all tests.
  164. test-only Executes the tests provided as arguments or all tests if no arguments are provided.
  165. test-quick Executes the tests that either failed before, were not run or whose transitive dependencies changed, among those provided as arguments.
  166. update Resolves and optionally retrieves dependencies, producing a report.
  167.  
  168. More tasks may be viewed by increasing verbosity. See 'help tasks'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement