JBANG CATALOG ADD

NAME

jbang catalog add — Add a catalog.

SYNOPSIS

jbang catalog add [OPTIONS] <fileOrURL>

Registers a catalog under a name. Give a file, a URL, or a short GitHub reference such as jbangdev (the jbangdev/jbang-catalog repository).

Examples:

jbang catalog add --name demo jbangdev
jbang catalog add --name team myteam/jbang-tools
jbang catalog add --global --name local ./jbang-catalog.json

OPTIONS

-d, --description=<description>

A description for the catalog

--name=<name>

A name for the catalog

--force

Force overwriting of existing catalog

--import

Import catalog items into the catalog’s scope

-g, --global

Use the global (user) catalog file

-f, --file=<file>

Path to the catalog file to use

-h, --help

Display this help and exit

--config=<config>

Path to config file to be used instead of the default

--insecure

Enable insecure trust of all SSL certificates.

--[no-]verbose

jbang will be verbose on what it does.

--[no-]quiet

jbang will be quiet, only print when error occurs.

-o, --[no-]offline

Work offline. Fail-fast if dependencies are missing.

--[no-]fresh

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

-x, --[no-]stacktrace

Print exceptions stacktraces to stderr (even when quiet).

--netrc=<netrc>

Path to a .netrc file for HTTP authentication credentials.

--no-netrc

Disable .netrc authentication lookup.

ARGUMENTS

<fileOrURL>

A file or URL to a catalog file