@mesh-tech/mesh-cli
Version:
CLI for Mesh platform development utilities
20 lines (19 loc) • 556 B
TypeScript
import { type CommonOpts } from "./common.js";
export interface FileChange {
status: string;
path: string;
}
export declare function parseStatus(out: string): FileChange[];
export declare function writeOp(cwd: string, path: string): Promise<{
op: "write";
path: string;
content: string;
encoding?: "base64";
}>;
export interface ProposeOpts extends CommonOpts {
message?: string;
proposalId?: string;
revise?: string;
mergeParent?: string;
}
export declare function proposeCommand(opts: ProposeOpts): Promise<void>;