跳到內容

addPlugin

本頁內容尚未翻譯。

const addPlugin: (
...args: [name: string, global: boolean]
) => Effect<
void,
UserError | CommandConfigError | Error | ConfigError,
ChildProcessSpawner | FileSystem | Path | SecureRandom
>

Defined in: Manage.ts:170

Install a command plugin and explicitly enable its /cli entry.

Parameter Type
…args [name: string, global: boolean]

Effect<void, | UserError | CommandConfigError | Error | ConfigError, ChildProcessSpawner | FileSystem | Path | SecureRandom>