UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

15 lines (13 loc) 311 B
import { $command } from "alepha/command"; export class CleanCommand { /** * Clean the project, removing the "dist" directory */ public readonly clean = $command({ name: "clean", description: "Clean the project", handler: async ({ run }) => { await run.rm("./dist"); }, }); }