Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0

On this page

KeymanProjectCopier.run() method

Home > @keymanapp/kmc-copy > KeymanProjectCopier > run

KeymanProjectCopier.run() method

Copy a Keyman project. Returns an object containing binary artifacts on success. The files are passed in by name, and the compiler will use callbacks as passed to the KeymanProjectCopier.init() function to read any input files by disk.

Signature:

run(source: string): Promise<CopierResult>;

Parameters

Parameter Type Description
source string Source file or folder to copy. Can be a local file or folder, github:repo[:path], or cloud:id

Returns:

Promise<CopierResult>

Binary artifacts on success, null on failure.