Versions in this module Expand all Collapse all v1 v1.0.9 Jan 22, 2024 Changes in this version + func AddCommand(packageManager Tool, commandScope CommandScope, pkg ...string) (*command.Model, error) + func RemoveCommand(packageManager Tool, commandScope CommandScope, pkg ...string) (*command.Model, error) + type CommandScope string + const Global + const Local + type InstallCommand struct + IgnoreError bool + Slice *command.Model + func InstallGlobalDependencyCommand(packageManager Tool, dependency string, version string) ([]InstallCommand, error) + type Tool string + const Npm + const Yarn + func DetectTool(absPackageJSONDir string) (Tool, error)