autark-cli 0.5.3 → 0.5.5
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/autark.mjs +15 -7
- package/package.json +1 -1
package/autark.mjs
CHANGED
|
@@ -1429,10 +1429,10 @@ function mailUsage() {
|
|
|
1429
1429
|
console.log(`autark mail
|
|
1430
1430
|
|
|
1431
1431
|
setup --prefix <name> [--force]
|
|
1432
|
-
send --to <email[,email]> --subject <s> --text @body.txt [--run-id <id>] [--dry-run]
|
|
1433
|
-
reply --message-id <id> --text @reply.txt [--run-id <id>]
|
|
1434
|
-
reply-all --message-id <id> --text @reply.txt [--run-id <id>]
|
|
1435
|
-
forward --message-id <id> --to <email> [--text @body.txt] [--run-id <id>]
|
|
1432
|
+
send --to <email[,email]> --subject <s> [--text @body.txt] [--html @body.html] [--cc <e>] [--bcc <e>] [--reply-to <e>] [--label <l>] [--attachment <a>] [--run-id <id>] [--dry-run]
|
|
1433
|
+
reply --message-id <id> [--text @reply.txt] [--html @reply.html] [--run-id <id>]
|
|
1434
|
+
reply-all --message-id <id> [--text @reply.txt] [--html @reply.html] [--run-id <id>]
|
|
1435
|
+
forward --message-id <id> --to <email> [--text @body.txt] [--html @body.html] [--run-id <id>]
|
|
1436
1436
|
threads [--limit N]
|
|
1437
1437
|
thread <thread_id>
|
|
1438
1438
|
messages [--limit N]
|
|
@@ -1440,11 +1440,19 @@ function mailUsage() {
|
|
|
1440
1440
|
raw <message_id>
|
|
1441
1441
|
attachment --message-id <id> --attachment-id <id> [--out file]
|
|
1442
1442
|
request <METHOD> <path> [--body @json] [--raw]
|
|
1443
|
-
lint --body @draft.txt | <stdin>
|
|
1443
|
+
lint --body @draft.txt | <stdin> content-quality check (AI-tells, slop); exit 1 on violations
|
|
1444
|
+
|
|
1445
|
+
Body flags — matches AgentMail CLI + REST and the wider convention
|
|
1446
|
+
(Mailgun / SendGrid / Resend / Postmark all use the same text vs html split):
|
|
1447
|
+
|
|
1448
|
+
--text @file Plain text body, ships as text/plain MIME part.
|
|
1449
|
+
--html @file HTML body, ships as text/html MIME part.
|
|
1450
|
+
Both Ships as multipart/alternative (text fallback + html).
|
|
1444
1451
|
|
|
1445
1452
|
Mail uses the inbox-scoped token in ~/.autark/credentials.json. --dry-run
|
|
1446
|
-
prints the payload without hitting SES. lint is fully local
|
|
1447
|
-
|
|
1453
|
+
prints the payload without hitting SES. lint is fully local and only
|
|
1454
|
+
inspects content quality (slop / AI-tells) — markup correctness is a
|
|
1455
|
+
CLI/convention concern, not a slop concern.`)
|
|
1448
1456
|
}
|
|
1449
1457
|
|
|
1450
1458
|
function usage() {
|
package/package.json
CHANGED