Skip to content

CliYaml

@tsed/cli-core

Usage ​

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

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

Overview ​

ts
class CliYaml {
    protected fs: CliFs;
    read(path: string): Promise<unknown>;
    write(path: string, obj: any): Promise<void>;
}

protected fs ​

ts
protected fs: CliFs;

read ​

ts
read(path: string): Promise<unknown>;

write ​

ts
write(path: string, obj: any): Promise<void>;

Released under the MIT License.