@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
10 lines (9 loc) • 505 B
TypeScript
import { stringify } from "yaml";
export declare const getAutoGeneratedHeader: (commentChar: string) => string;
export declare const writeGeneratedFile: (path: string, content: string, { commentChar, }: {
commentChar: string;
}) => Promise<void>;
type StringifyOptions = Exclude<Parameters<typeof stringify>[2], null | undefined | string | number>;
export declare const yamlStringifyOptions: StringifyOptions;
export declare const writeYamlfile: (path: string, data: any) => Promise<void>;
export {};