yungle-cli 0.2.0 → 0.2.1
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 +2 -2
- package/dist/yungle.mjs +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ or CI. Resumable uploads up to 100 GB, private and EU-hosted.
|
|
|
6
6
|
<img src="https://raw.githubusercontent.com/heindewilde/yungle-clients/main/.github/assets/demo.svg" alt="yungle send, yungle status and yungle get in a terminal" width="720">
|
|
7
7
|
|
|
8
8
|
```bash
|
|
9
|
-
npm install -g yungle-cli
|
|
9
|
+
npm install -g yungle-cli # or: brew install heindewilde/yungle/yungle
|
|
10
10
|
yungle login # opens your browser, once
|
|
11
11
|
yungle send ~/Shoot # uploads resumably, prints the link
|
|
12
12
|
```
|
|
@@ -29,7 +29,7 @@ Works on the free plan. Node 22 or newer.
|
|
|
29
29
|
|---|---|
|
|
30
30
|
| `yungle send <paths…>` | Send files or folders and print the link. `--to`, `--message`, `--title`, `--password`, `--expires` |
|
|
31
31
|
| `yungle get <link>` | Download a transfer sent to you. No account needed. `--out`, `--zip`, `--password` |
|
|
32
|
-
| `yungle status [<id\|link>]` | Who
|
|
32
|
+
| `yungle status [<id\|link>]` | Who downloaded a transfer. Without an id, pick from your recent ones |
|
|
33
33
|
| `yungle transfers` | Your recent transfers |
|
|
34
34
|
| `yungle revoke <id>` | Stop a transfer's link for good (asks first) |
|
|
35
35
|
|
package/dist/yungle.mjs
CHANGED
|
@@ -190,7 +190,7 @@ function pageQuery(page, extra = {}) {
|
|
|
190
190
|
const q = params.toString();
|
|
191
191
|
return q ? `?${q}` : "";
|
|
192
192
|
}
|
|
193
|
-
var CLIENT_VERSION = true ? "0.2.
|
|
193
|
+
var CLIENT_VERSION = true ? "0.2.1" : "dev";
|
|
194
194
|
var YungleClient = class {
|
|
195
195
|
baseUrl;
|
|
196
196
|
apiKey;
|
|
@@ -710,7 +710,7 @@ Send and receive
|
|
|
710
710
|
--out <dir> where to save (default: current directory)
|
|
711
711
|
--zip one zip instead of separate files
|
|
712
712
|
--password <text> for a protected link; asks if left out
|
|
713
|
-
yungle status [<id|link>] who
|
|
713
|
+
yungle status [<id|link>] who downloaded a transfer
|
|
714
714
|
yungle transfers list your recent transfers
|
|
715
715
|
yungle revoke <id> stop a transfer's link for good
|
|
716
716
|
|
|
@@ -2876,7 +2876,7 @@ async function saveUploaded(dir, collectionId, uploaded) {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
|
|
2878
2878
|
// src/index.ts
|
|
2879
|
-
var CLI_VERSION = true ? "0.2.
|
|
2879
|
+
var CLI_VERSION = true ? "0.2.1" : "dev";
|
|
2880
2880
|
var USER_AGENT = `yungle-cli/${CLI_VERSION}`;
|
|
2881
2881
|
async function main(argvIn) {
|
|
2882
2882
|
const argv = resolveAlias(argvIn);
|
|
@@ -3212,7 +3212,7 @@ async function status(positionals, flags, json) {
|
|
|
3212
3212
|
lines.push("", table(
|
|
3213
3213
|
recipients.map((r2) => [
|
|
3214
3214
|
r2.email,
|
|
3215
|
-
r2.bouncedAt ? o.red("email bounced") : r2.downloaded ? accentOut("downloaded") : r2.
|
|
3215
|
+
r2.bouncedAt ? o.red("email bounced") : r2.downloaded ? accentOut("downloaded") : r2.notifiedAt ? o.dim("emailed") : o.dim("email queued")
|
|
3216
3216
|
]),
|
|
3217
3217
|
{ flex: 0, header: ["Recipient", "Status"] }
|
|
3218
3218
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yungle-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Send, receive and sync large files from your terminal or CI: resumable uploads up to 100 GB, private and EU-hosted. A WeTransfer alternative for the command line.",
|
|
6
6
|
"bin": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"picocolors": "^1.1.1",
|
|
20
20
|
"tsx": "^4.19.2",
|
|
21
21
|
"typescript": "^5.7.3",
|
|
22
|
-
"yungle-client": "0.2.
|
|
22
|
+
"yungle-client": "0.2.1"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|