@drip-apex/apex-cli 0.1.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 +42 -0
- package/dist/cli.js +8497 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Apex CLI
|
|
2
|
+
|
|
3
|
+
Command-line tools for Apex experiments and Operator live preview sessions.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @drip-apex/apex-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Login
|
|
12
|
+
|
|
13
|
+
Create an Apex API key at:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
https://app.drip-apex.com/api-keys
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then run:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
apex login
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Check auth:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
apex whoami
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Operator Preview
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
apex operator checkout <experimentId> --variation <variationId> --dir ./my-test
|
|
35
|
+
apex operator dev ./my-test
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Publish back to Apex after QA:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
apex operator publish ./my-test
|
|
42
|
+
```
|