@putdotio/cli 1.0.6 → 1.0.7
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 +9 -20
- package/dist/bin.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{metadata-M4jJfYQg.mjs → metadata-Be7tlVm1.mjs} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,54 +10,43 @@
|
|
|
10
10
|
|
|
11
11
|
<p>
|
|
12
12
|
<a href="https://github.com/putdotio/putio-cli/actions/workflows/ci.yml?query=branch%3Amain" style="text-decoration:none;"><img src="https://img.shields.io/github/actions/workflow/status/putdotio/putio-cli/ci.yml?branch=main&style=flat&label=ci&colorA=000000&colorB=000000" alt="CI"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@putdotio/cli" style="text-decoration:none;"><img src="https://img.shields.io/npm/v/%40putdotio%2Fcli?style=flat&label=npm&logo=npm&colorA=000000&colorB=000000" alt="npm version"></a>
|
|
14
|
+
<a href="https://github.com/putdotio/putio-cli/blob/main/LICENSE" style="text-decoration:none;"><img src="https://img.shields.io/github/license/putdotio/putio-cli?style=flat&label=license&colorA=000000&colorB=000000" alt="License"></a>
|
|
13
15
|
</p>
|
|
14
16
|
</div>
|
|
15
17
|
|
|
16
18
|
## Install
|
|
17
19
|
|
|
18
|
-
Homebrew
|
|
20
|
+
### Homebrew
|
|
19
21
|
|
|
20
22
|
```bash
|
|
21
23
|
brew tap putdotio/homebrew-tap
|
|
22
24
|
brew install putio-cli
|
|
23
25
|
```
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
If you prefer a direct install on macOS or Linux:
|
|
27
|
+
### macOS / Linux installer
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
curl -fsSL https://raw.githubusercontent.com/putdotio/putio-cli/main/install.sh | sh
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Installs the latest release to `~/.local/bin/putio`
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Custom dir:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
curl -fsSL https://raw.githubusercontent.com/putdotio/putio-cli/main/install.sh | INSTALL_DIR=/usr/local/bin sh
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
### npm
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
npm install --global @putdotio/cli
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Windows or manual install:
|
|
50
|
-
|
|
51
|
-
Prebuilt releases currently cover Apple silicon macOS, x86_64 Linux, and x86_64 Windows.
|
|
52
|
-
|
|
53
|
-
Download the matching archive from [GitHub Releases](https://github.com/putdotio/putio-cli/releases/latest), verify the matching `.sha256`, extract it, and put `putio` on your `PATH`.
|
|
54
|
-
|
|
55
|
-
Example assets:
|
|
56
|
-
|
|
57
|
-
- `putio-cli-1.0.5-linux-amd64.tar.gz`
|
|
58
|
-
- `putio-cli-1.0.5-windows-amd64.zip`
|
|
47
|
+
Node `24.14+`
|
|
59
48
|
|
|
60
|
-
|
|
49
|
+
Verify:
|
|
61
50
|
|
|
62
51
|
```bash
|
|
63
52
|
putio version
|
package/dist/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as translate, C as CliOutput, D as CliConfigLive, E as renderJson, O as CliRuntime, S as CliSdkLive, T as detectOutputModeFromArgv, a as searchCommand, c as brandCommand, i as filesCommand, j as version, k as CliRuntimeLive, l as versionCommand, m as CliStateLive, n as whoamiCommand, o as eventsCommand, r as transfersCommand, s as downloadLinksCommand, t as describeCli, u as makeAuthCommand, w as CliOutputLive } from "./metadata-
|
|
2
|
+
import { A as translate, C as CliOutput, D as CliConfigLive, E as renderJson, O as CliRuntime, S as CliSdkLive, T as detectOutputModeFromArgv, a as searchCommand, c as brandCommand, i as filesCommand, j as version, k as CliRuntimeLive, l as versionCommand, m as CliStateLive, n as whoamiCommand, o as eventsCommand, r as transfersCommand, s as downloadLinksCommand, t as describeCli, u as makeAuthCommand, w as CliOutputLive } from "./metadata-Be7tlVm1.mjs";
|
|
3
3
|
import { Cause, Console, Effect, Layer } from "effect";
|
|
4
4
|
import { Command } from "@effect/cli";
|
|
5
5
|
import { NodeContext, NodeRuntime } from "@effect/platform-node";
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as clearPersistedState, b as resolveAuthState, d as AuthStateError, f as AuthStatusSchema, g as ResolvedAuthStateSchema, h as PutioCliConfigSchema, m as CliStateLive, p as CliState, t as describeCli, v as getAuthStatus, x as savePersistedState, y as loadPersistedState } from "./metadata-
|
|
1
|
+
import { _ as clearPersistedState, b as resolveAuthState, d as AuthStateError, f as AuthStatusSchema, g as ResolvedAuthStateSchema, h as PutioCliConfigSchema, m as CliStateLive, p as CliState, t as describeCli, v as getAuthStatus, x as savePersistedState, y as loadPersistedState } from "./metadata-Be7tlVm1.mjs";
|
|
2
2
|
export { AuthStateError, AuthStatusSchema, CliState, CliStateLive, PutioCliConfigSchema, ResolvedAuthStateSchema, clearPersistedState, describeCli, getAuthStatus, loadPersistedState, resolveAuthState, savePersistedState };
|
|
@@ -13,7 +13,7 @@ import * as FileSystem from "@effect/platform/FileSystem";
|
|
|
13
13
|
import { SystemError } from "@effect/platform/Error";
|
|
14
14
|
//#region package.json
|
|
15
15
|
var name = "@putdotio/cli";
|
|
16
|
-
var version = "1.0.
|
|
16
|
+
var version = "1.0.7";
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/i18n/translate.ts
|
|
19
19
|
const resources = { en: { translation: {
|