snippeteer/lib/Snippet.ts

12 lines
324 B
TypeScript
Raw Normal View History

2020-04-16 07:45:48 +02:00
/*
* Copyright (C) SapphireCode - All Rights Reserved
* This file is part of Snippeteer which is released under BSD-3-Clause.
* See file 'LICENSE' for full license details.
2020-05-07 18:40:35 +02:00
* Created by Timo Hocker <timo@scode.ovh>, May 2020
2020-04-16 07:45:48 +02:00
*/
2020-04-15 20:21:00 +02:00
export interface Snippet {
2020-05-11 12:01:39 +02:00
is_active(): boolean;
2020-04-15 20:21:00 +02:00
start(cwd: string): Promise<void>;
}