ProzillaOS/packages/apps/terminal/core/commands/make.ts
2024-06-16 21:46:44 +02:00

9 lines
No EOL
319 B
TypeScript

import { formatError } from "../_utils/terminal.utils";
import { Command } from "../command";
export const make = new Command()
.setRequireArgs(true)
.setExecute(function(this: Command, args) {
if ((args as string[])[0] === "love")
return formatError(this.name, "*** No rule to make target 'love'. Stop.");
});