kami-redis 2.0.0 → 2.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/CHANGELOG.md +12 -0
- package/dist/index.js +3 -1
- package/package.json +4 -1
- package/src/index.ts +2 -1
- package/tsup.config.ts +0 -1
- package/dist/index.d.ts +0 -2365
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
// src/index.ts
|
|
2
4
|
import meow from "meow";
|
|
3
5
|
import pc2 from "picocolors";
|
|
@@ -188,7 +190,7 @@ async function viewKey(selectedKey) {
|
|
|
188
190
|
var cli = meow(
|
|
189
191
|
`
|
|
190
192
|
Usage
|
|
191
|
-
|
|
193
|
+
kami-redis <url>
|
|
192
194
|
`,
|
|
193
195
|
{
|
|
194
196
|
importMeta: import.meta
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kami-redis",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"description": "Browse, inspect, copy, and delete Redis keys from your CLI",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
|
+
"bin": {
|
|
11
|
+
"kami-redis": "dist/index.js"
|
|
12
|
+
},
|
|
10
13
|
"scripts": {
|
|
11
14
|
"dev": "bun run --watch src/index.ts",
|
|
12
15
|
"build": "tsup src/index.ts",
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
/* eslint-disable style/no-tabs */
|
|
2
3
|
import meow from "meow";
|
|
3
4
|
import pc from "picocolors";
|
|
@@ -12,7 +13,7 @@ import { viewKey } from "./utils/view-key";
|
|
|
12
13
|
const cli = meow(
|
|
13
14
|
`
|
|
14
15
|
Usage
|
|
15
|
-
|
|
16
|
+
kami-redis <url>
|
|
16
17
|
`,
|
|
17
18
|
{
|
|
18
19
|
importMeta: import.meta,
|