1
0
mirror of https://github.com/ikatyang/emoji-cheat-sheet.git synced 2026-02-06 15:15:20 +01:00

refactor: update

This commit is contained in:
Ika
2019-04-09 23:25:38 +08:00
parent 19b858e8a5
commit 90641f0973
19 changed files with 2476 additions and 2315 deletions

View File

@@ -1,11 +0,0 @@
import * as fs from 'fs';
import {create_cheat_sheet} from '../src/create-cheat-sheet';
const output_filename = process.argv[2];
if (output_filename === undefined) {
throw new Error(`Usage ts-node path/to/generate.ts path/to/output.md`);
}
create_cheat_sheet().then(cheat_sheet => {
fs.writeFileSync(output_filename, cheat_sheet, 'utf8');
});