Browse rp

rp dev add

Add a command or container unit to rp.toml.

Name

rp dev add — Add a command or container unit to rp.toml.

Synopsis

rp dev add <name> (--cmd <command> | --image <image> | --type <runner|builder> --containerfile <path> [--context .] [--http <port>] [--command <command>] [--artifacts <path>]) [--workdir <path>]

Description

Add a command or container unit to rp.toml. Command units run from its directory or the chosen workdir.

Options

Options shown in the synopsis: --cmd, --image, --type, --containerfile, --context, --http, --command, --artifacts, --workdir. Check the documented behavior before invoking an action; --help is not a guaranteed no-op for every CLI command.

See also

The dev command index and rp help.