summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorLeo Goetz <dev@leogtz.de>2025-11-08 18:55:03 +0100
committerLeo Goetz <dev@leogtz.de>2025-11-08 18:55:03 +0100
commit16a0e9a9d2c24af28142ed3420ef6cb373c454f7 (patch)
treeb948472cea12b505ae3f2cc04b66801207ebc6aa /index.js
parent91a6ac10e416dcf2c29b6e37e3dfe19672eb0f84 (diff)
started making the command and json db
Diffstat (limited to 'index.js')
-rw-r--r--index.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/index.js b/index.js
index 36d56ef..8496e47 100644
--- a/index.js
+++ b/index.js
@@ -1,9 +1,2 @@
#!/usr/bin/env node
-
-const note = process.argv[2];
-const newNote = {
- content: note,
- id: Date.now(),
-};
-
-console.log(newNote);
+import "./src/command.js";