@emit-vision/cli 0.3.0 → 0.4.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 +9 -1
- package/dist/index.js +19942 -826
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,15 @@ emit-vision logout --profile work # remove one profile
|
|
|
42
42
|
emit-vision logout --all # remove every profile
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
A repo can pin its own account and default project
|
|
45
|
+
A repo can pin its own account and default project. `emit-vision link` writes (or merges into) `.emit-vision.json` for you, at the git root, or in the existing file if one is already found below it:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
emit-vision link --profile work --project proj_abc123
|
|
49
|
+
emit-vision link --profile work # keeps any existing projectId
|
|
50
|
+
emit-vision link # in a terminal, pick from your projects
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
It never writes a token and keeps any other keys already in the file. This is what it writes:
|
|
46
54
|
|
|
47
55
|
```json
|
|
48
56
|
{ "profile": "work", "projectId": "proj_abc123" }
|