1export interface Part {
2 type: 'text';
3 value: string;
4 reconstruct: () => string;
5}
6
7export interface Command {
8 type: 'add' | 'filter' | 'done';
9 description: string;
10 attributes: string[];
11 filters: string[];
12 project: string;
13 tags: string;
14 parts: Part[];
15 reconstruct: () => string;
16}
17
18export function parse(input: string): Command;