mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-25 23:33:49 +03:00
18 lines
324 B
TypeScript
18 lines
324 B
TypeScript
import { PackageCommand } from './command';
|
|
|
|
export class DevCommand extends PackageCommand {
|
|
static override paths = [['dev'], ['d']];
|
|
|
|
async execute() {
|
|
const args = [];
|
|
|
|
if (this.deps) {
|
|
args.push('--deps', '--wait-deps');
|
|
}
|
|
|
|
args.push(this.package, 'dev');
|
|
|
|
await this.cli.run(args);
|
|
}
|
|
}
|