@roman-16/proton-cli-win32-x64 1.10.0 → 1.11.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 +14 -9
- package/bin/proton-cli.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Read your mail, move files in and out of Drive, manage calendars, passwords, and
|
|
|
28
28
|
|
|
29
29
|
## Install
|
|
30
30
|
|
|
31
|
-
| | |
|
|
31
|
+
| Method | Command |
|
|
32
32
|
| --- | --- |
|
|
33
33
|
| **Linux, macOS** | `curl -fsSL https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.sh \| sh` |
|
|
34
34
|
| **Windows** | `irm https://raw.githubusercontent.com/roman-16/proton-cli/main/scripts/install.ps1 \| iex` |
|
|
@@ -72,12 +72,14 @@ proton-cli mail messages search --from billing@example.com --after 2026-01-01
|
|
|
72
72
|
proton-cli mail messages read "Invoice #2291"
|
|
73
73
|
proton-cli mail messages send --to alice@proton.me --subject Report \
|
|
74
74
|
--body "See attached." --attach ./report.pdf
|
|
75
|
-
proton-cli mail messages
|
|
76
|
-
|
|
75
|
+
proton-cli mail messages reply "Invoice #2291" --body "Thanks, paid today."
|
|
76
|
+
proton-cli mail messages forward "Invoice #2291" --to alice@proton.me
|
|
77
|
+
proton-cli mail drafts create --to team@example.com --subject Standup --body "Notes to follow."
|
|
78
|
+
proton-cli mail messages export --folder archive --older-than 1y --output-dir ./backup
|
|
77
79
|
proton-cli mail messages trash --unread --older-than 30d
|
|
78
80
|
```
|
|
79
81
|
|
|
80
|
-
Threads, attachments,
|
|
82
|
+
Threads, drafts, attachments, `.eml` export, folders, labels, Sieve filters, signatures, and an auto-reply. → [Mail](https://github.com/roman-16/proton-cli/blob/main/docs/commands/mail.md)
|
|
81
83
|
|
|
82
84
|
### Drive
|
|
83
85
|
|
|
@@ -101,7 +103,7 @@ proton-cli calendar events create --title Standup --start 2026-04-16T09:00 \
|
|
|
101
103
|
proton-cli calendar events respond "Team sync" --status accept
|
|
102
104
|
```
|
|
103
105
|
|
|
104
|
-
→ [Calendar](https://github.com/roman-16/proton-cli/blob/main/docs/commands/calendar.md)
|
|
106
|
+
Plus calendars of your own, all-day events, and attendees who get an invitation by email. → [Calendar](https://github.com/roman-16/proton-cli/blob/main/docs/commands/calendar.md)
|
|
105
107
|
|
|
106
108
|
### Pass
|
|
107
109
|
|
|
@@ -124,15 +126,15 @@ proton-cli contacts pin-key jane --key jane-pubkey.asc
|
|
|
124
126
|
proton-cli contacts groups add GROUP_ID jane
|
|
125
127
|
```
|
|
126
128
|
|
|
127
|
-
→ [Contacts](https://github.com/roman-16/proton-cli/blob/main/docs/commands/contacts.md)
|
|
129
|
+
Groups, several addresses per contact, and details like organization and birthday. → [Contacts](https://github.com/roman-16/proton-cli/blob/main/docs/commands/contacts.md)
|
|
128
130
|
|
|
129
|
-
|
|
131
|
+
[Settings](https://github.com/roman-16/proton-cli/blob/main/docs/commands/settings.md) are scoped the way Proton scopes them — `proton-cli settings` for the account, `proton-cli mail settings` and friends per product — and [`proton-cli api`](https://github.com/roman-16/proton-cli/blob/main/docs/commands/api.md) reaches any endpoint the commands don't.
|
|
130
132
|
|
|
131
133
|
## Automate it
|
|
132
134
|
|
|
133
135
|
```bash
|
|
134
136
|
# creating something prints its new ID to stdout
|
|
135
|
-
ID=$(proton-cli mail labels create --name Work --color "#8080FF")
|
|
137
|
+
ID=$(proton-cli mail settings labels create --name Work --color "#8080FF")
|
|
136
138
|
|
|
137
139
|
# JSON for the machines, always with full IDs
|
|
138
140
|
proton-cli mail messages list --unread --output json | jq -r '.messages[].subject'
|
|
@@ -140,6 +142,9 @@ proton-cli mail messages list --unread --output json | jq -r '.messages[].subjec
|
|
|
140
142
|
# stream through, no temporary files
|
|
141
143
|
pg_dump mydb | gzip | proton-cli drive items upload - /Backups/db.sql.gz
|
|
142
144
|
|
|
145
|
+
# archive a folder to disk as ordinary .eml files
|
|
146
|
+
proton-cli mail messages export --folder archive --all --output-dir ./mail-backup
|
|
147
|
+
|
|
143
148
|
# check what a bulk change would touch before it happens
|
|
144
149
|
proton-cli mail messages trash --from newsletter@example.com --older-than 90d --dry-run
|
|
145
150
|
```
|
|
@@ -156,7 +161,7 @@ The saved session keeps your key password encrypted with a key held server-side,
|
|
|
156
161
|
|
|
157
162
|
Everything lives in [`docs/`](https://github.com/roman-16/proton-cli/blob/main/docs/README.md):
|
|
158
163
|
|
|
159
|
-
| | |
|
|
164
|
+
| Page | What's in it |
|
|
160
165
|
| --- | --- |
|
|
161
166
|
| [Installation](https://github.com/roman-16/proton-cli/blob/main/docs/installation.md) | Every platform, updating, uninstalling |
|
|
162
167
|
| [Configuration](https://github.com/roman-16/proton-cli/blob/main/docs/configuration.md) | Credentials, profiles, environment variables |
|
package/bin/proton-cli.exe
CHANGED
|
Binary file
|