Skip to contents

This function makes available the guild executable installed by install_guild() for usage in the Terminal.

Usage

install_guild_cli(
  dest = "~/bin",
  completions = basename(Sys.getenv("SHELL")) %in% c("bash", "zsh", "fish")
)

Arguments

dest

Directory where to place the guild executable. This should be a location on the PATH.

completions

Whether to also install shell completion helpers.

Value

path to the installed guild executable, invisibly.

Details

Note that the guild executable installed by the R function install_guild() is not able to run python operations. To run python operations with guild, you must install guild into the target python installation with pip install guildai, and ensure that the desired guild executable is on the PATH.