@fuel-ts/abi-typegen
Version:
Generates Typescript definitions from Sway ABI Json files
22 lines • 677 B
TypeScript
import { Command } from 'commander';
import { ProgramTypeEnum } from './types/enums/ProgramTypeEnum';
export interface ICliParams {
inputs: string[];
output: string;
silent?: boolean;
contract?: boolean;
script?: boolean;
predicate?: boolean;
}
export declare function resolveProgramType(params: {
contract?: boolean;
script?: boolean;
predicate?: boolean;
}): ProgramTypeEnum;
export declare function runCliAction(options: ICliParams): void;
export declare function configureCliOptions(program: Command): Command;
export declare function run(params: {
argv: string[];
programName: string;
}): void;
//# sourceMappingURL=cli.d.ts.map