Skip to contents

Copies the package CLI wrapper from the installed exec/ directory into a user-selected destination directory and, on Unix-like systems, marks the copied file as executable.

Usage

install_cli(dest_dir = "~/.local/bin", overwrite = FALSE, commands = NULL)

Arguments

dest_dir

Destination directory for installed command wrappers.

overwrite

Logical; overwrite an existing installed wrapper.

commands

Character vector of command names to install. Defaults to all available commands.

Value

Character vector of installed paths, returned invisibly.

Examples

if (FALSE) { # \dontrun{
install_cli("~/.local/bin", overwrite = TRUE)
} # }