1 | import { CommandTrigger } from "./command.run";
|
2 | export interface UnwrappedTask {
|
3 | patterns: string[];
|
4 | tasks: string[];
|
5 | i: number;
|
6 | name: string;
|
7 | }
|
8 | export declare function getModifiedWatchContext(trigger: CommandTrigger): CommandTrigger;
|
9 | /**
|
10 | * take the following:
|
11 | * $ crossbow watch "*.js -> (lint) (unit)"
|
12 | *
|
13 | * and convert it into
|
14 | * patterns: ["*.js"]
|
15 | * tasks: ["lint", "unit"]
|
16 | */
|
17 | export declare function unwrapShorthand(incoming: string, i: number): UnwrappedTask;
|