UNPKG

@kubiklabs/wasmkit

Version:

Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.

23 lines (22 loc) 1.06 kB
/** * Initialize a template from 'kubiklabs/wasmkit-templates' with given name * and destination * @param force --force flag. If true then contents in destination directory are overwritten * @param templateName templateName to initialize from kubiklabs/wasmkit-templates. * @param destination destination directory to initialize template to. * Defaults to current working directory * - If template name is not passed, the default template is initialized. * - If template name passed is incorrect (template does not exist), * then user is asked to initialize * from one of the existing templates or exit initializing * - If there are conflicting files while copying template, * then user is asked to overwrite each file * or not (if --force is not used). * - If `--force` is used, then conflicting files are overwritten. */ export declare function initialize({ force, projectPath, templateName, destination }: { force: boolean; projectPath: string; templateName?: string; destination?: string; }): Promise<void>;