Skip to main content

Module install

Module install 

Source
Expand description

Dependency installation shared by Forge commands.

Structsยง

DependencyInstallOpts
InstallArgs
CLI arguments for forge install.
Installer ๐Ÿ”’
NewFolderGuard ๐Ÿ”’
Removes a newly created dependency directory if its installation fails.
NewSubmoduleGuard ๐Ÿ”’

Staticsยง

DEPENDENCY_VERSION_TAG_REGEX ๐Ÿ”’

Functionsยง

install_missing_dependencies
Installs missing dependencies and reloads config only to discover new remappings.
install_soldeer_deps_if_needed ๐Ÿ”’
Checks if a dependency has soldeer.lock and installs soldeer dependencies if needed.
match_yn ๐Ÿ”’
Matches on the result of a prompt for yes/no.
restore_file ๐Ÿ”’