@yarnpkg/cli
Index
Classes
Functions
Type Aliases
Variables
Functions
getCli
Parameters
__namedParameters: { cwd?: PortablePath; pluginConfiguration?: PluginConfiguration } = {}
Returns Promise<Cli<CommandContext> & { defaultContext: { cwd: PortablePath; plugins: PluginConfiguration; quiet: boolean; stderr: WriteStream & {}; stdin: ReadStream & {}; stdout: WriteStream & {} } }>
getDynamicLibs
Returns Map<string, any>
getPluginConfiguration
Returns PluginConfiguration
openWorkspace
Parameters
configuration: Configuration
cwd: PortablePath
Returns Promise<Workspace>
runExit
Parameters
argv: string[]
__namedParameters: { cwd: PortablePath; pluginConfiguration: PluginConfiguration; selfPath: null | PortablePath }
Returns Promise<void>
Type Aliases
CommandContext
Type declaration
colorDepth: number
cwd: PortablePath
env: Record<string, string | undefined>
plugins: PluginConfiguration
quiet: boolean
stderr: Writable
stdin: Readable
stdout: Writable