@decaf-ts/fabric-weaver
Version:
template for ts projects
20 lines (19 loc) • 582 B
TypeScript
import { Logger } from "@decaf-ts/logging";
import { PeerChaincodeCommands } from "../constants/fabric-peer";
export declare class FabricPeerChaincodeCommandBuilder {
private log;
private binName;
private baseCommand;
private command;
private location?;
private args;
constructor(logger?: Logger);
setCommand(command?: PeerChaincodeCommands): this;
setlocation(location?: string): this;
build(): string;
getBaseCommand(): string;
getCommand(): string;
getBinary(): string;
getArgs(): string[];
execute(): Promise<void>;
}