@coat/cli
Version:
TODO: See #3
14 lines (13 loc) • 643 B
TypeScript
import { CoatManifestTaskStrict } from "../types/coat-manifest-tasks";
import { CoatManifestStrict } from "../types/coat-manifest";
/**
* Gathers all global and local tasks from the current coat project and returns
* them sorted with global tasks before local tasks.
*
* Tasks with the same id and global/local scope will be merged, in that a
* task replace its earlier version if it has the same id and takes its place
* in the resulting tasks array.
*
* @param allTemplates All extended templates from the current coat project
*/
export declare function gatherAllTasks(allTemplates: CoatManifestStrict[]): CoatManifestTaskStrict[];