groundmail-cli 0.0.0-stage → 0.15.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 CHANGED
@@ -1,3 +1,61 @@
1
- # Temporary Holding Version
1
+ # groundmail-cli
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Command-line client for [Groundmail](https://groundmail.dev) — send transactional email and manage domains, webhooks, templates, and more from the terminal.
4
+
5
+ ```bash
6
+ npm install -g groundmail-cli
7
+ ```
8
+
9
+ ```bash
10
+ groundmail login
11
+ ```
12
+
13
+ `login` prints a link and a short code. Approve the code in the browser, pick the
14
+ workspace, and the CLI saves a new API key for it in `~/.config/groundmail/config.json`.
15
+ It works over SSH and from coding agents too: without a terminal it prints the link
16
+ and exits, and running `groundmail login` again after you approve finishes the sign-in.
17
+
18
+ Or set a key yourself:
19
+
20
+ ```bash
21
+ export GROUNDMAIL_API_KEY=gm_your_key_here
22
+ ```
23
+
24
+ ```bash
25
+ groundmail emails send \
26
+ --from ops@yourdomain.com \
27
+ --to user@example.com \
28
+ --subject 'Your receipt' \
29
+ --html '<p>Thanks for your purchase.</p>'
30
+ ```
31
+
32
+ Or without a global install:
33
+
34
+ ```bash
35
+ npx groundmail-cli emails send --from … --to … --subject … --html …
36
+ ```
37
+
38
+ ## Common commands
39
+
40
+ ```bash
41
+ groundmail whoami
42
+ groundmail workspaces list
43
+ groundmail workspaces use <name>
44
+ groundmail domains list
45
+ groundmail domains verify example.com
46
+ groundmail webhooks list
47
+ groundmail emails list
48
+ ```
49
+
50
+ Run `groundmail --help` or `groundmail <command> --help` for flags.
51
+
52
+ ## Docs
53
+
54
+ - Quickstart: https://docs.groundmail.dev/quickstart
55
+ - Domains API / CLI: https://docs.groundmail.dev/api/domains
56
+ - Agent skills (CLI): https://docs.groundmail.dev/ai/agent-skills
57
+ - Product: https://groundmail.dev
58
+
59
+ ## License
60
+
61
+ MIT
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __commonJS = (cb, mod) => function __require() {
4
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5
+ };
6
+
7
+ export {
8
+ __commonJS
9
+ };
package/dist/cli.d.ts ADDED
@@ -0,0 +1,2 @@
1
+
2
+ export { }