ripplepush 0.1.0 → 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.
Files changed (3) hide show
  1. package/README.md +6 -2
  2. package/index.js +78 -62
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -25,13 +25,17 @@ npx ripplepush send "Hello from Ripple"
25
25
 
26
26
  ## Send your first message
27
27
 
28
- Copy Inbox's send key from its menu in Ripple (**Copy send key**), then:
28
+ Connect the CLI to your Ripple account. Your browser opens to approve it; over SSH, you get a link to open on any device and a code to type back:
29
29
 
30
30
  ```bash
31
- export RIPPLE_KEY=rpl_send_…
31
+ ripple login
32
32
  ripple send --title "Hello from Ripple" "The first of many."
33
33
  ```
34
34
 
35
+ Scripts and servers can use a key instead: set `RIPPLE_KEY` to a send key from a source's menu in Ripple (**Copy send key**), or an API token from **Settings → Developer**.
36
+
37
+ `ripple status` shows what the CLI is connected as, and checks that it works.
38
+
35
39
  Plain `ripple` shows every command, and each explains itself with `--help`.
36
40
 
37
41
  ## Update