@vivd-studio/cli 1.9.336 → 1.9.337

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 +11 -4
  2. package/index.js +982 -430
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -18,8 +18,8 @@ Requires Node.js 20 or newer.
18
18
  vivd login
19
19
  ```
20
20
 
21
- `vivd login` shows a code and opens Vivd in your browser. Confirm the code there
22
- and the CLI is signed in to your organization.
21
+ `vivd login` shows a code and opens Vivd in your browser. Confirm the code there,
22
+ pick one or several of your organizations, and the CLI is signed in to them.
23
23
 
24
24
  ## Connect a website
25
25
 
@@ -38,14 +38,21 @@ vivd studio attach & # keep Studio open while you work
38
38
  git commit -am "Update the opening section" # edit files, then commit
39
39
  vivd studio push # waits until the change shows in the Vivd tab
40
40
  vivd browser screenshot / # check the result
41
- vivd studio pull && git rebase vivd/main # when Studio has newer commits
41
+ vivd studio pull # fetch Studio saves without pushing
42
42
  vivd studio save -m "Save edits" # save edits made in the Vivd tab
43
43
  ```
44
44
 
45
+ The owner can edit the same website in Studio at the same time. When Studio has
46
+ saved commits the folder lacks, `vivd studio push` merges them into your branch
47
+ first, keeps both histories, and lists what changed, including other-language
48
+ versions of a changed page that still need the same change. It stops only on a
49
+ conflict or on uncommitted changes and prints the next steps. `--no-merge`
50
+ refuses instead. With `--json`, the result carries `merge`.
51
+
45
52
  Publishing, plugin settings and support requests stay in the Vivd tab. The CLI
46
53
  tells you when to go there.
47
54
 
48
- Run `vivd help` for every command and `vivd version` for the installed version.
55
+ Run `vivd help` for every command and `vivd --version` for the installed version.
49
56
 
50
57
  ## Learn more
51
58