3 |
"scope": "typescript", |
"scope": "typescript", |
4 |
"prefix": "command", |
"prefix": "command", |
5 |
"body": [ |
"body": [ |
6 |
"import { TakesArgument } from \"@framework/arguments/ArgumentTypes\";", |
"import { ArgumentSchema } from \"@framework/arguments/ArgumentTypes\";", |
7 |
"import type { Buildable } from \"@framework/commands/Command\";", |
"import type { Buildable } from \"@framework/commands/Command\";", |
8 |
"import { Command } from \"@framework/commands/Command\";", |
"import { Command } from \"@framework/commands/Command\";", |
9 |
"import type Context from \"@framework/commands/Context\";", |
"import type Context from \"@framework/commands/Context\";", |
12 |
"\targ: string;", |
"\targ: string;", |
13 |
"};", |
"};", |
14 |
"", |
"", |
15 |
"@TakesArgument<${1:${TM_FILENAME_BASE/(.*?)\\..*/$1/}}Args>({", |
"@ArgumentSchema.Definition({", |
16 |
"\tnames: [],", |
"\tnames: [],", |
17 |
"\ttypes: [],", |
"\ttypes: [],", |
18 |
"\toptional: false,", |
"\toptional: false,", |