Initial commit

This commit is contained in:
mats committed 2026-09-22 08:41:20 +02:00
commit 89053153cc
8152 files changed
+2086461

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env node
import Specificity from '../dist/index.js';
if (!process.argv[2]) {
console.error('❌ Missing selector argument');
process.exit(1);
}
try {
const specificities = Specificity.calculate(process.argv[2]);
console.log(specificities.map((specificity) => `${specificity}`).join('\n'));
} catch (e) {
console.error(`❌ ${e.message}`);
}