@coat/cli
Version:
TODO: See #3
18 lines (17 loc) • 760 B
TypeScript
import { CoatContext } from "../types/coat-context";
/**
* Gathers and runs all tasks of a coat project.
*
* When running setup with the force = true option, all tasks will be
* run regardless of whether they have been run before.
*
* @param options.cwd The working directory of the current coat project
* @param options.check Whether a dry-run should be performed that checks
* and exits if the coat project is out of sync and has pending global tasks that need to be run
* @param options.force Whether to run tasks although they have been run before (e.g. when running the `coat setup` command directly)
*/
export declare function setup({ cwd, check, force, }: {
cwd: string;
check?: boolean;
force?: boolean;
}): Promise<CoatContext>;