You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($actual -ne $expected) { throw "Checksum mismatch" }
71
-
```
42
+
Download the matching archive from [GitHub Releases](https://github.com/putdotio/putio-cli/releases/latest), verify the `.sha256`, extract it, and put `putio` on your `PATH`.
72
43
73
44
Confirm the installed CLI:
74
45
@@ -78,56 +49,51 @@ putio version
78
49
79
50
## Quick Start
80
51
81
-
Inspect the machine-readable command surface before guessing flags or payloads:
52
+
Inspect the live contract:
82
53
83
54
```bash
84
55
putio describe
85
56
```
86
57
87
-
Start the device-link login flow:
58
+
Link your account:
88
59
89
60
```bash
90
61
putio auth login --open
91
62
```
92
63
93
-
Then confirm the linked account:
64
+
Check the account:
94
65
95
66
```bash
96
67
putio whoami --output json
97
68
```
98
69
99
-
List a small structured file result:
70
+
Read a small JSON result:
100
71
101
72
```bash
102
73
putio files list --per-page 5 --fields files,total --output json
103
74
```
104
75
105
-
For larger reads, prefer streamed output:
76
+
Stream larger reads:
106
77
107
78
```bash
108
79
putio transfers list --page-all --output ndjson
109
80
```
110
81
111
-
## Usage Notes
82
+
## Tips
112
83
113
84
- Use `--output json` when you want a stable machine-readable contract for scripts, agents, and automation.
114
85
- Use `--output ndjson` for large or continuous read workflows.
115
86
- Use `--fields` to keep structured responses small.
116
87
- Use `--dry-run` before mutating commands.
117
-
- Set `PUTIO_CLI_TOKEN`when you want fully headless auth.
88
+
- Set `PUTIO_CLI_TOKEN`for headless auth.
118
89
- Use `PUTIO_CLI_CONFIG_PATH` to override the default config location.
119
-
-`putio auth login` always prints the approval URL and code, so it still works in headless and remote environments.
120
90
121
91
## Docs
122
92
123
93
-[Architecture](./docs/ARCHITECTURE.md)
124
94
-[Contributing](./CONTRIBUTING.md)
125
95
-[Security](./SECURITY.md)
126
96
127
-
## Contributing
128
-
129
-
Contributor setup, development workflow, and validation live in [CONTRIBUTING.md](./CONTRIBUTING.md).
130
-
131
97
## License
132
98
133
99
This project is available under the MIT license. See [LICENSE](./LICENSE).
0 commit comments