shipmail-cli 0.2.2 → 0.3.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 +1 -4
- package/dist/cli.js +1 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -117,9 +117,6 @@ shipmail api GET /domains
|
|
|
117
117
|
|
|
118
118
|
shipmail api PATCH /mailboxes/mbx_123/spam-filter \
|
|
119
119
|
--data '{"threshold":6}'
|
|
120
|
-
|
|
121
|
-
shipmail api PUT /mailboxes/mbx_123/rules \
|
|
122
|
-
--data @rules.json
|
|
123
120
|
```
|
|
124
121
|
|
|
125
122
|
Use repeatable `--header "Name: value"` flags for request headers. Use `--output path` to write non-JSON responses, such as attachment downloads.
|
|
@@ -129,7 +126,7 @@ Use repeatable `--header "Name: value"` flags for request headers. Use `--output
|
|
|
129
126
|
- `status`
|
|
130
127
|
- `api <METHOD> <PATH>`
|
|
131
128
|
- `domains list|search|create|get|verify|delete`
|
|
132
|
-
- `mailboxes list|create|get|suspend|resume|forwarding|forwarding-add|forwarding-remove|app-passwords|folders|identities
|
|
129
|
+
- `mailboxes list|create|get|suspend|resume|forwarding|forwarding-add|forwarding-remove|app-passwords|folders|identities`
|
|
133
130
|
- `inbox list|message|threads|thread|thread-state|draft|send-draft|reply-message|reply-thread|update|move`
|
|
134
131
|
- `reply-scans create|status|results`
|
|
135
132
|
- `messages send|list|get|reply` (test keys also support `--sandbox-outcome`)
|
package/dist/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "shipmail";
|
|
14
14
|
|
|
15
15
|
// src/version.ts
|
|
16
|
-
var VERSION = "0.
|
|
16
|
+
var VERSION = "0.3.0";
|
|
17
17
|
|
|
18
18
|
// src/cli.ts
|
|
19
19
|
var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";
|
|
@@ -335,7 +335,6 @@ Usage:
|
|
|
335
335
|
shipmail mailboxes app-passwords revoke <id> <app-password-id>
|
|
336
336
|
shipmail mailboxes folders <id>
|
|
337
337
|
shipmail mailboxes identities <id>
|
|
338
|
-
shipmail mailboxes rules <id>
|
|
339
338
|
shipmail mailboxes forwarding <id>
|
|
340
339
|
shipmail mailboxes forwarding-add <id> --destination owner@example.com
|
|
341
340
|
shipmail mailboxes forwarding-remove <id> <forwarding-id>
|
|
@@ -736,13 +735,6 @@ async function runMailboxes(client, parsed, out) {
|
|
|
736
735
|
);
|
|
737
736
|
return;
|
|
738
737
|
}
|
|
739
|
-
if (subcommand === "rules") {
|
|
740
|
-
writeJson(
|
|
741
|
-
out,
|
|
742
|
-
await client.mailboxes.getRules(requirePositional(parsed.positional, 2, "mailbox id"))
|
|
743
|
-
);
|
|
744
|
-
return;
|
|
745
|
-
}
|
|
746
738
|
if (subcommand === "forwarding") {
|
|
747
739
|
writeJson(
|
|
748
740
|
out,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shipmail-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Official CLI for the ShipMail API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"shipmail": "0.
|
|
44
|
+
"shipmail": "0.3.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.4.0",
|