editdb-cli 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/demo.gif +0 -0
- package/package.json +9 -1
- package/src/ui.js +0 -11
- package/counts.db +0 -0
package/assets/demo.gif
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "editdb-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A CLI tool that allows anyone to easily edit and create SQLite databases. SQLiteデータベースを誰でも簡単に編集、作成できるCLIツール。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "yh2237",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"cli",
|
|
10
|
+
"tui",
|
|
11
|
+
"sqlite",
|
|
12
|
+
"database",
|
|
13
|
+
"db",
|
|
14
|
+
"editor"
|
|
15
|
+
],
|
|
8
16
|
"repository": {
|
|
9
17
|
"type": "git",
|
|
10
18
|
"url": "https://github.com/yh2237/EditDB-CLI"
|
package/src/ui.js
CHANGED
|
@@ -403,16 +403,5 @@ export async function tableActionPrompt(db, table) {
|
|
|
403
403
|
} else if (action === UI_ACTIONS.BACK) {
|
|
404
404
|
return;
|
|
405
405
|
}
|
|
406
|
-
} else if (action === 'multi') {
|
|
407
|
-
await multiRowActionPrompt(db, currentTable);
|
|
408
|
-
} else if (action === 'insert') {
|
|
409
|
-
await insertRow(db, currentTable);
|
|
410
|
-
} else if (action === 'alter') {
|
|
411
|
-
currentTable = await alterTablePrompt(db, currentTable);
|
|
412
|
-
} else if (action === 'schema') {
|
|
413
|
-
displaySchema(db, currentTable);
|
|
414
|
-
} else if (action === 'back') {
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
406
|
}
|
|
418
407
|
}
|
package/counts.db
DELETED
|
Binary file
|