@hesed/mysql 0.3.0 → 0.4.0
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/README.md +13 -13
- package/dist/commands/mysql/auth/add.js +1 -0
- package/dist/commands/mysql/auth/delete.js +1 -1
- package/dist/commands/mysql/auth/list.js +1 -1
- package/dist/commands/mysql/auth/profile.js +1 -1
- package/dist/commands/mysql/auth/test.js +1 -0
- package/dist/commands/mysql/auth/update.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ $ npm install -g @hesed/mysql
|
|
|
26
26
|
$ mq COMMAND
|
|
27
27
|
running command...
|
|
28
28
|
$ mq (--version)
|
|
29
|
-
@hesed/mysql/0.
|
|
29
|
+
@hesed/mysql/0.4.0 linux-x64 node-v24.16.0
|
|
30
30
|
$ mq --help [COMMAND]
|
|
31
31
|
USAGE
|
|
32
32
|
$ mq COMMAND
|
|
@@ -80,7 +80,7 @@ EXAMPLES
|
|
|
80
80
|
$ mq mysql auth add -p prod
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
_See code: [src/commands/mysql/auth/add.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
83
|
+
_See code: [src/commands/mysql/auth/add.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/add.ts)_
|
|
84
84
|
|
|
85
85
|
## `mq mysql auth delete`
|
|
86
86
|
|
|
@@ -105,7 +105,7 @@ EXAMPLES
|
|
|
105
105
|
$ mq mysql auth delete -p prod
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
_See code: [src/commands/mysql/auth/delete.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
108
|
+
_See code: [src/commands/mysql/auth/delete.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/delete.ts)_
|
|
109
109
|
|
|
110
110
|
## `mq mysql auth list`
|
|
111
111
|
|
|
@@ -125,7 +125,7 @@ EXAMPLES
|
|
|
125
125
|
$ mq mysql auth list
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
_See code: [src/commands/mysql/auth/list.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
128
|
+
_See code: [src/commands/mysql/auth/list.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/list.ts)_
|
|
129
129
|
|
|
130
130
|
## `mq mysql auth profile`
|
|
131
131
|
|
|
@@ -150,7 +150,7 @@ EXAMPLES
|
|
|
150
150
|
$ mq mysql auth profile --default test
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
_See code: [src/commands/mysql/auth/profile.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
153
|
+
_See code: [src/commands/mysql/auth/profile.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/profile.ts)_
|
|
154
154
|
|
|
155
155
|
## `mq mysql auth test`
|
|
156
156
|
|
|
@@ -175,7 +175,7 @@ EXAMPLES
|
|
|
175
175
|
$ mq mysql auth test -p prod
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
_See code: [src/commands/mysql/auth/test.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
178
|
+
_See code: [src/commands/mysql/auth/test.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/test.ts)_
|
|
179
179
|
|
|
180
180
|
## `mq mysql auth update`
|
|
181
181
|
|
|
@@ -207,7 +207,7 @@ EXAMPLES
|
|
|
207
207
|
$ mq mysql auth update -p test
|
|
208
208
|
```
|
|
209
209
|
|
|
210
|
-
_See code: [src/commands/mysql/auth/update.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
210
|
+
_See code: [src/commands/mysql/auth/update.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/auth/update.ts)_
|
|
211
211
|
|
|
212
212
|
## `mq mysql databases`
|
|
213
213
|
|
|
@@ -229,7 +229,7 @@ EXAMPLES
|
|
|
229
229
|
$ mq mysql databases --profile staging
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
_See code: [src/commands/mysql/databases.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
232
|
+
_See code: [src/commands/mysql/databases.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/databases.ts)_
|
|
233
233
|
|
|
234
234
|
## `mq mysql describe-table TABLE`
|
|
235
235
|
|
|
@@ -256,7 +256,7 @@ EXAMPLES
|
|
|
256
256
|
$ mq mysql describe-table orders --format json --profile prod
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
_See code: [src/commands/mysql/describe-table.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
259
|
+
_See code: [src/commands/mysql/describe-table.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/describe-table.ts)_
|
|
260
260
|
|
|
261
261
|
## `mq mysql explain-query QUERY`
|
|
262
262
|
|
|
@@ -283,7 +283,7 @@ EXAMPLES
|
|
|
283
283
|
$ mq mysql explain-query "SELECT * FROM orders JOIN users ON orders.user_id = users.id" --format json
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
-
_See code: [src/commands/mysql/explain-query.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
286
|
+
_See code: [src/commands/mysql/explain-query.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/explain-query.ts)_
|
|
287
287
|
|
|
288
288
|
## `mq mysql indexes TABLE`
|
|
289
289
|
|
|
@@ -310,7 +310,7 @@ EXAMPLES
|
|
|
310
310
|
$ mq mysql indexes orders --format json --profile prod
|
|
311
311
|
```
|
|
312
312
|
|
|
313
|
-
_See code: [src/commands/mysql/indexes.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
313
|
+
_See code: [src/commands/mysql/indexes.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/indexes.ts)_
|
|
314
314
|
|
|
315
315
|
## `mq mysql query QUERY`
|
|
316
316
|
|
|
@@ -340,7 +340,7 @@ EXAMPLES
|
|
|
340
340
|
$ mq mysql query "DELETE FROM sessions" --profile prod --skip-confirmation
|
|
341
341
|
```
|
|
342
342
|
|
|
343
|
-
_See code: [src/commands/mysql/query.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
343
|
+
_See code: [src/commands/mysql/query.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/query.ts)_
|
|
344
344
|
|
|
345
345
|
## `mq mysql tables`
|
|
346
346
|
|
|
@@ -362,5 +362,5 @@ EXAMPLES
|
|
|
362
362
|
$ mq mysql tables --profile local
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/mysql/tables.ts](https://github.com/hesedcasa/mysql/blob/v0.
|
|
365
|
+
_See code: [src/commands/mysql/tables.ts](https://github.com/hesedcasa/mysql/blob/v0.4.0/src/commands/mysql/tables.ts)_
|
|
366
366
|
<!-- commandsstop -->
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createAuthDeleteCommand } from '@hesed/plugin-lib';
|
|
2
|
-
export default createAuthDeleteCommand();
|
|
2
|
+
export default createAuthDeleteCommand({ configFile: 'mysql-config.json' });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createAuthListCommand } from '@hesed/plugin-lib';
|
|
2
|
-
export default createAuthListCommand();
|
|
2
|
+
export default createAuthListCommand({ configFile: 'mysql-config.json' });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createAuthProfileCommand } from '@hesed/plugin-lib';
|
|
2
|
-
export default createAuthProfileCommand();
|
|
2
|
+
export default createAuthProfileCommand({ configFile: 'mysql-config.json' });
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hesed/mysql",
|
|
3
3
|
"description": "CLI for MySQL database interaction",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"author": "Hesed",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mq": "./bin/run.js"
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/hesedcasa/mysql/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@hesed/plugin-lib": "^0.
|
|
11
|
+
"@hesed/plugin-lib": "^0.9.0",
|
|
12
12
|
"@inquirer/prompts": "^8.3.0",
|
|
13
13
|
"@oclif/core": "^4",
|
|
14
14
|
"@toon-format/toon": "^2.1.0",
|