File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -278,35 +278,6 @@ export function projectIgnoreGlobs(dir: string) {
278278 ) ;
279279}
280280
281- // export async function engineCommand(
282- // args: string[],
283- // env?: Record<string, string>,
284- // ) {
285- // if (args.length === 0) {
286- // throw ("No engine name given");
287- // }
288- // const engineKey = args[0];
289- // const engine = kEngines.get(engineKey);
290- // if (engine === undefined) {
291- // throw (`No engine with the name \"${engineKey}\" is registered. Available engines are ${
292- // Array.from(kEngines.keys()).map((key) => `"${key}"`).join(", ")
293- // }`);
294- // }
295-
296- // if (args.length < 2) {
297- // throw ("No engine command specified");
298- // }
299- // const commandName = args[1];
300-
301- // const commandFunction = engine.commands?.[commandName];
302- // if (commandFunction === undefined) {
303- // throw (`No command with the name \"${commandName}\" is registered for the engine \"${engineKey}\".`);
304- // }
305- // await commandFunction(args.slice(2), env);
306-
307- // Deno.exit(0);
308- // }
309-
310281export const engineCommand = new Command ( )
311282 . name ( "engine" )
312283 . description (
You can’t perform that action at this time.
0 commit comments