Skip to content

CliPlugins

@tsed/cli-core

Usage

typescript
import { CliPlugins } from "@tsed/cli-core";

See /packages/cli-core/src/services/CliPlugins.ts.

Overview

ts
class CliPlugins {
    name: string;
    readonly loadPlugins: typeof loadPlugins;
    
    searchPlugins(keyword?: string, options?: any): Promise<any>;
    addPluginsDependencies(ctx: any): Task[];
    protected getKeyword(keyword: string): string;
    protected cleanKeyword(keyword: string): string;
}

name

ts
name: string;

readonly loadPlugins

ts
readonly loadPlugins: typeof loadPlugins;

searchPlugins

ts
searchPlugins(keyword?: string, options?: any): Promise<any>;

addPluginsDependencies

ts
addPluginsDependencies(ctx: any): Task[];

protected getKeyword

ts
protected getKeyword(keyword: string): string;

protected cleanKeyword

ts
protected cleanKeyword(keyword: string): string;

Released under the MIT License.