groundmail-cli 0.33.0 → 0.34.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/dist/cli.js +3 -3
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -2055,7 +2055,7 @@ function trimUrl(value) {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
|
|
2057
2057
|
// package.json
|
|
2058
|
-
var version = "0.
|
|
2058
|
+
var version = "0.34.0";
|
|
2059
2059
|
|
|
2060
2060
|
// src/user-agent.ts
|
|
2061
2061
|
function buildUserAgent(own) {
|
|
@@ -4651,7 +4651,7 @@ var USAGE_LINES = [
|
|
|
4651
4651
|
` groundmail events send --name user.created --email user@example.com --data '{"name":"Ada"}'`,
|
|
4652
4652
|
" groundmail automations list",
|
|
4653
4653
|
" groundmail automations create --file ./welcome.json",
|
|
4654
|
-
` groundmail automations create --name Welcome --trigger user.created --steps '[{"type":"send_email","email":{
|
|
4654
|
+
` groundmail automations create --name Welcome --trigger user.created --steps '[{"type":"send_email","email":{"from":"you@yourdomain.com","to":"{{event.email}}","template":{"id":"welcome","variables":{"name":"{{event.data.name}}"}}}}]' each email step sends a published template`,
|
|
4655
4655
|
" groundmail automations create --file ./otp-sms.json",
|
|
4656
4656
|
" groundmail automations get --id <automation-id>",
|
|
4657
4657
|
" groundmail automations update --id <automation-id> --file ./welcome.json",
|
|
@@ -4682,7 +4682,7 @@ var USAGE_LINES = [
|
|
|
4682
4682
|
" groundmail templates restore --id tpl_\u2026 --version 2",
|
|
4683
4683
|
" groundmail templates test-send --id tpl_\u2026 --to you@domain.com [--from you@domain.com | --sender billing] neither: the template's sender, else your default sender",
|
|
4684
4684
|
' groundmail templates duplicate --id tpl_\u2026 [--name "Copy"]',
|
|
4685
|
-
" groundmail templates delete --id tpl_\u2026",
|
|
4685
|
+
" groundmail templates delete --id tpl_\u2026 refused while an automation step sends it (the error names them)",
|
|
4686
4686
|
" groundmail tenants list [--status active|paused] [--limit 25] [--cursor \u2026] your customers, each with its own domains, suppressions and limits",
|
|
4687
4687
|
` groundmail tenants create <external-id> [--name \u2026] [--default-from-domain \u2026] [--stream-policy all|transactional_only] [--daily-limit N] [--metadata '{"plan":"pro"}']`,
|
|
4688
4688
|
" groundmail tenants get <tenant>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groundmail-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Groundmail CLI — send transactional email from the terminal",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prepublishOnly": "npm run build"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"groundmail": "0.
|
|
41
|
+
"groundmail": "0.36.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsup": "^8.5.0",
|