mirror of
https://github.com/tiennm99/Valentine-Vue-Tailwind.git
synced 2026-10-17 10:13:55 +00:00
init commit
This commit is contained in:
commit
d6c58b1219
725 files changed
+445592
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
/* eslint no-var: 0 */
|
||||
|
||||
var parser = require("..");
|
||||
var fs = require("fs");
|
||||
|
||||
var filename = process.argv[2];
|
||||
if (!filename) {
|
||||
console.error("no filename specified");
|
||||
} else {
|
||||
var file = fs.readFileSync(filename, "utf8");
|
||||
var ast = parser.parse(file);
|
||||
|
||||
console.log(JSON.stringify(ast, null, " "));
|
||||
}
|
||||
Reference in new issue
Block a user