pinme 1.0.8 → 1.1.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 +32 -0
- package/dist/index.js +5001 -123
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,16 @@ pinme upload
|
|
|
38
38
|
pinme upload /path/to/file-or-directory
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
### Remove files from IPFS
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# Interactive removal
|
|
45
|
+
pinme rm
|
|
46
|
+
|
|
47
|
+
# Remove a specific file by hash
|
|
48
|
+
pinme rm <IPFS_hash>
|
|
49
|
+
```
|
|
50
|
+
|
|
41
51
|
### View upload history
|
|
42
52
|
|
|
43
53
|
```bash
|
|
@@ -86,6 +96,28 @@ pinme upload ./example.jpg
|
|
|
86
96
|
pinme upload ./my-website
|
|
87
97
|
```
|
|
88
98
|
|
|
99
|
+
### `rm`
|
|
100
|
+
|
|
101
|
+
Remove a file from the IPFS network.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
pinme rm [hash]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Options:**
|
|
108
|
+
- `hash`: IPFS content hash to remove (optional, if not provided, interactive mode will be entered)
|
|
109
|
+
|
|
110
|
+
**Examples:**
|
|
111
|
+
```bash
|
|
112
|
+
# Interactive removal
|
|
113
|
+
pinme rm
|
|
114
|
+
|
|
115
|
+
# Remove a specific file by hash
|
|
116
|
+
pinme rm bafybeifdwyoz66u5czbbjvmmais5fzrzrolxbyiydqsbrxessndt3s6zdi
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Note:** This action permanently removes content from the IPFS network. Make sure you have the correct IPFS hash before proceeding.
|
|
120
|
+
|
|
89
121
|
### `list` / `ls`
|
|
90
122
|
|
|
91
123
|
Display upload history.
|