CliStats
@tsed/cli
Usage
typescript
import { CliStats } from "@tsed/cli/src/services/CliStats";Overview
ts
class CliStats extends CliHttpClient {
protected disabled: boolean;
protected host: string;
protected projectPackage: ProjectPackageJson;
sendInit(opts: Partial<InitStatPayload>): Promise<unknown> | undefined;
$onFinish(data: {
commandName?: string;
features?: string[];
}, er?: Error): Promise<unknown> | undefined;
protected onSuccess(options: Record<string, unknown>): void;
protected onError(error: any, options: any): void;
}protected disabled
ts
protected disabled: boolean;protected host
ts
protected host: string;protected projectPackage
ts
protected projectPackage: ProjectPackageJson;sendInit
ts
sendInit(opts: Partial<InitStatPayload>): Promise<unknown> | undefined;$onFinish
ts
$onFinish(data: {
commandName?: string;
features?: string[];
}, er?: Error): Promise<unknown> | undefined;protected onSuccess
ts
protected onSuccess(options: Record<string, unknown>): void;protected onError
ts
protected onError(error: any, options: any): void;