mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-05-13 11:01:16 +00:00
Refactor: separate entrypoint and main,
Fix: readlng binary file
This commit is contained in:
7
src/apps/cli/entrypoint.ts
Normal file
7
src/apps/cli/entrypoint.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
import { main } from "./main";
|
||||
|
||||
main().catch((error) => {
|
||||
console.error(`[Fatal Error]`, error);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user