Files
AFFiNE-Mirror/tools/cli/src/build.ts
T
2024-12-25 04:55:26 +00:00

18 lines
325 B
TypeScript

import { PackageCommand } from './command';
export class BuildCommand extends PackageCommand {
static override paths = [['build'], ['b']];
async execute() {
const args: string[] = [];
if (this.deps) {
args.push('--deps');
}
args.push(this.package, 'build');
await this.cli.run(args);
}
}