s3-storage-cli 0.1.1 → 0.1.3

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.
Files changed (3) hide show
  1. package/README.md +11 -17
  2. package/SKILL.md +6 -5
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -12,6 +12,12 @@ Runtime requirement:
12
12
 
13
13
  - `bun` must be installed because the published CLI executes with Bun
14
14
 
15
+ Quick start:
16
+
17
+ ```bash
18
+ s3-storage status
19
+ ```
20
+
15
21
  Commands:
16
22
 
17
23
  - `status` verifies env, SQLite, and S3 connectivity
@@ -39,24 +45,12 @@ Optional env:
39
45
  - `S3_SESSION_TOKEN`
40
46
  - `S3_VIRTUAL_HOSTED_STYLE`
41
47
 
42
- Run:
43
-
44
- ```bash
45
- bun run index.ts status
46
- ```
47
-
48
- After global install:
49
-
50
- ```bash
51
- s3-storage status
52
- ```
53
-
54
48
  Examples:
55
49
 
56
50
  ```bash
57
- bun run index.ts upload ./file.txt
58
- bun run index.ts upload ./assets --public --prefix site
59
- bun run index.ts list
60
- bun run index.ts share site/assets/logo.png
61
- bun run index.ts delete site/assets/logo.png
51
+ s3-storage upload ./file.txt
52
+ s3-storage upload ./assets --public --prefix site
53
+ s3-storage list
54
+ s3-storage share site/assets/logo.png
55
+ s3-storage delete site/assets/logo.png
62
56
  ```
package/SKILL.md CHANGED
@@ -26,11 +26,12 @@ Optional env:
26
26
 
27
27
  ## Commands
28
28
 
29
- - `bun run index.ts status`
30
- - `bun run index.ts list [prefix]`
31
- - `bun run index.ts upload <paths...> [--public|--private] [--prefix <remote-prefix>]`
32
- - `bun run index.ts delete <keys...>`
33
- - `bun run index.ts share <key> [--expires <seconds>]`
29
+ - Install first with `npm install -g s3-storage-cli`
30
+ - `s3-storage status`
31
+ - `s3-storage list [prefix]`
32
+ - `s3-storage upload <paths...> [--public|--private] [--prefix <remote-prefix>]`
33
+ - `s3-storage delete <keys...>`
34
+ - `s3-storage share <key> [--expires <seconds>]`
34
35
 
35
36
  Short aliases are available: `ls`, `up`, `rm`, `sh`, `st`.
36
37
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "s3-storage-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Minimal tracked S3 CLI for Bun with list, upload, delete, share, and status commands.",
5
5
  "module": "index.ts",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "bin": {
9
- "s3-storage": "./bin/s3-storage.js"
9
+ "s3-storage": "bin/s3-storage.js"
10
10
  },
11
11
  "files": [
12
12
  "bin",