tldr/pages/common/cs-launch.md

21 lines
853 B
Markdown
Raw Normal View History

coursier: add new documentation pages (#9728) * coursier: add new documentation pages * fixing ci errors * fixing ci errors * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-fetch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix other typo * Update pages/common/cs-complete-dep.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-launch.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-install.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-java.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * Update pages/common/cs-resolve.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * fix error Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2023-01-09 16:38:15 +00:00
# cs launch
> Launch an application from the name directly from one or more Maven dependencies without the need of installing it.
> More information: <https://get-coursier.io/docs/cli-launch>.
- Launch a specific application with arguments:
`cs launch {{application_name}} -- {{arg1 arg2 ...}}`
- Launch a specific application version with arguments:
`cs launch {{application_name}}:{{application_version}} -- {{arg1 arg2 ...}}`
- Launch a specific version of an application specifying which is the main file:
`cs launch {{group_id}}:{{artifact_id}}:{{artifact_version}} --main-class {{path/to/main_class_file}}`
- Launch an application with specific java options and a jvm memory ones:
`cs launch --java-opt {{-Doption_name1:option_value1 -Doption_name2:option_value2 ...}} --java-opt {{-Xjvm_option1 -Xjvm_option2 ...}} {{application_name}}`