On this page:
pkg-install-command
pkg-update-command
pkg-remove-command
pkg-new-command
pkg-show-command
pkg-migrate-command
pkg-config-command
pkg-create-command
pkg-catalog-show-command
pkg-catalog-copy-command
pkg-catalog-archive-command
pkg-archive-command
pkg-empty-trash-command

7.1 Functions for raco pkg

 (require pkg) package: base

The pkg module provides a programmatic interface to the raco pkg sub-subcommands.

Each-long form option of the command-line interface is a keyword argument to the functions described below. An argument corresponding to --type, --deps, --format, --scope, or --multi-clone accepts its argument as a symbol, while other flags that take text arguments expect strings, and flags that expect number arguments expect exact integers. An argument corresponding to --scope is also allowed to be a path string, as would be provided to --scope-dir. Options without argument correspond to keyword arguments that accept booleans, where #t is equivalent to the presence of the option. When a flag can be used multiple times, its keyword-argument form can hold a single value, a list of values, or #f to indicate the default implied by zero instances of the flag.

The parameters current-pkg-catalogs, current-pkg-scope, current-pkg-scope-version, and current-pkg-error do not to affect command functions, because the functions explicitly configure parameters based on their arguments.

Implements raco pkg install.
Implements raco pkg update.
Implements raco pkg remove.
Implements raco pkg new.
Implements raco pkg show.
Implements raco pkg migrate.
Implements raco pkg config.
Implements raco pkg create.

Added in version 6.0.17 of package base.

Implements raco pkg archive.

Added in version 6.1.0.8 of package base.

Added in version 6.1.1.6 of package base.