9 lines
363 B
Plaintext
Executable File
9 lines
363 B
Plaintext
Executable File
import path from 'node:path';
|
|
import { check, parseArgsAsCheckConfig } from './index.js';
|
|
const args = parseArgsAsCheckConfig(process.argv);
|
|
console.info(`Getting diagnostics for Astro files in ${path.resolve(args.root)}...`);
|
|
const result = await check(args);
|
|
if (typeof result === 'boolean') {
|
|
process.exit(result ? 1 : 0);
|
|
}
|
|
//# sourceMappingURL=bin.js.map |