jbang-edit(1)
Name
jbang-edit - Setup a temporary project to edit script in an IDE.
Synopsis
jbang edit -o [-bh] --fresh [--insecure] [--itr] [--jsh] [--live] [--no-open] --quiet --verbose [--open[=<editor>]] [--catalog=<catalog>] [--config=<config>] [--source-type=<forceType>] [--cp=<classpaths>]… [-D=<String=String>]… [--deps=<dependencies>]… [--files=<resources>]… [--repos=<repositories>]… [-s=<sources>]… [<scriptOrFile>] [<additionalFiles>…]
Options
- -b, --sandbox
-
Edit in sandbox mode. Useful when the editor/IDE used has no JBang support
- --catalog=<catalog>
-
Path to catalog file to be used instead of the default
- --config=<config>
-
Path to config file to be used instead of the default
- --cp, --class-path=<classpaths>
-
Add class path entries.
- -D, <String=String>
-
set a system property
- --deps=<dependencies>
-
Add additional dependencies (Use commas to separate them).
- --files=<resources>
-
Add additional files.
- --fresh
-
Make sure we use fresh (i.e. non-cached) resources.
- -h, --help
-
Display help/info. Use 'jbang <command> -h' for detailed usage.
- --insecure
-
Enable insecure trust of all SSL certificates.
- --itr, --ignore-transitive-repositories
-
Ignore remote repositories found in transitive dependencies
- --jsh
-
Force input to be interpreted with jsh/jshell. Deprecated: use '--source-type jshell'
- --live
-
Open directory in IDE’s that support JBang or generate temporary project with option to regenerate project on dependency changes.
- --no-open
-
Explicitly prevent JBang from opening an editor/IDE
- -o, --offline
-
Work offline. Fail-fast if dependencies are missing. No connections will be attempted
- --open[=<editor>]
-
Opens editor/IDE on the temporary project.
- --quiet
-
jbang will be quiet, only print when error occurs.
- --repos=<repositories>
-
Add additional repositories.
- -s, --sources=<sources>
-
Add additional sources.
- --source-type=<forceType>
-
Force input to be interpreted as the given type. Can be: java, jshell, groovy, kotlin, or markdown
- --verbose
-
jbang will be verbose on what it does.