@primitivedotdev/cli 0.33.0 → 0.35.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
@@ -12,6 +12,8 @@ Or with npm:
12
12
  ```bash
13
13
  npm install -g @primitivedotdev/cli
14
14
  primitive whoami
15
+ # `prim` is installed as a short alias for the same CLI.
16
+ prim whoami
15
17
  ```
16
18
 
17
19
  Or with no install:
@@ -55,6 +57,8 @@ Use task-oriented commands for normal workflows:
55
57
  ```bash
56
58
  primitive send --to alice@example.com --body "Hello"
57
59
  primitive reply --id <inbound-email-id> --body "Thanks"
60
+ primitive reply --id <inbound-email-id> --body "See attached" --attachment ./report.pdf
61
+ primitive chat reply "See attached" --attachment ./report.pdf
58
62
  primitive emails list
59
63
  primitive emails get --id <inbound-email-id>
60
64
  primitive sent list
package/bin/run.js CHANGED
@@ -7,10 +7,10 @@ import { restartWithProxyEnvIfNeeded } from "../dist/oclif/proxy-auto-detect.js"
7
7
  // process.env inside this process is too late for built-in fetch.
8
8
  restartWithProxyEnvIfNeeded();
9
9
 
10
- const { writeLoggedOutSignupHintIfNeeded } = await import(
10
+ const { writeRootAuthContextIfNeeded } = await import(
11
11
  "../dist/oclif/root-signup-hint.js"
12
12
  );
13
- writeLoggedOutSignupHintIfNeeded();
13
+ await writeRootAuthContextIfNeeded();
14
14
 
15
15
  const { execute } = await import("@oclif/core");
16
16
  await execute({ dir: import.meta.url });