jbang-edit(1)

Name

jbang-edit - Setup a temporary project to edit script in an IDE.

Synopsis

jbang edit -o [-hV] [--fresh] [--insecure] [--jsh] [--live] --quiet --verbose [--open=<editor>] [--cp=<classpaths>]…​ [-D=<String=String>]…​ [--deps=<dependencies>]…​ <scriptOrFile>

Description

Setup a temporary project to edit script in an IDE.

Options

--cp, --class-path=<classpaths>

Add class path entries.

-D, <String=String>

set a system property

--deps=<dependencies>

Add additional dependencies.

--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.

--jsh

Force input to be interpreted with jsh/jshell

--live

Setup temporary project, regenerate project on dependency changes.

-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.

-V, --version

Display version info (use jbang --verbose version for more details)

--verbose

jbang will be verbose on what it does.

Arguments

<scriptOrFile>

A file with java code or if named .jsh will be run with jshell