► |  | Package Management in Racket

1 | Getting Started with Packages
2 | Package Concepts
3 | Using raco pkg
4 | Package Metadata
5 | Source, Binary, and Built Packages
6 | Package APIs
7 | Package Catalog Protocol
8 | PLane T Compatibility
9 | FAQ
10 | Future Plans

▼ | 6 | Package APIs

6.1 | Functions for raco pkg
6.2 | Package Management Functions
6.3 | Package Paths and Database
6.4 | Package Source Parsing
6.5 | Package Catalog Database

On this page:

pkg-install-command
pkg-update-command
pkg-remove-command
pkg-show-command
pkg-migrate-command
pkg-config-command
pkg-create-command
pkg-catalog-show-command
pkg-catalog-copy-command

top ← prev up next →

#### 6.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, or --scope accepts its argument as a symbol, while other flags that take arguments expect strings. 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.

> value pkg-install-command : procedure?

Implements raco pkg install.

> value pkg-update-command : procedure?

Implements raco pkg update.

> value pkg-remove-command : procedure?

Implements raco pkg remove.

> value pkg-show-command : procedure?

Implements raco pkg show.

> value pkg-migrate-command : procedure?

Implements raco pkg migrate.

> value pkg-config-command : procedure?

Implements raco pkg config.

> value pkg-create-command : procedure?

Implements raco pkg create.

> value pkg-catalog-show-command : procedure?

Implements raco pkg catalog-show.

> value pkg-catalog-copy-command : procedure?

Implements raco pkg catalog-copy.
top ← prev up next →