jbang-alias-add(1)

Name

jbang-alias-add - Add alias for script reference.

Synopsis

jbang alias add -o [-ghV] [--fresh] --quiet --verbose [-d=<description>] [-f=<catalogFile>] [--name=<name>] [-D=<String=String>]…​ scriptOrFile [params…​]

Description

Add alias for script reference.

Options

-d, --description=<description>

A description for the alias

-D, <String=String>

set a system property

-f, --file=<catalogFile>

Path to the catalog file to use

--fresh

Make sure we use fresh (i.e. non-cached) resources.

-g, --global

Use the global (user) catalog file

-h, --help

Display help/info. Use 'jbang <command> -h' for detailed usage.

--name=<name>

A name for the alias

-o, --offline

Work offline. Fail-fast if dependencies are missing. No connections will be attempted

--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 or URL to a Java code file

[params…​]

Parameters to pass on to the script