You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`init`| Write `.iobroker-sync.json`, verify the connection, create the script folder. Asks interactively when run without flags. `--types` also sets up TypeScript definitions. |
114
-
|`types`| Set up editor intellisense (`log`, `schedule`, ...). `--force`, `--offline`. |
115
-
|`login` / `logout`| Save or remove the password for this instance. Never stored in the project. |
116
-
|`trust`| Accept the instance's current TLS certificate. Only needed after it changes. `--yes` skips the prompt. |
117
-
|`doctor`| Check config, certificate, login, connection and a live round-trip, and say which one is wrong. Read-only, never prompts. Run this first when something looks broken.|
118
-
|`pull [pattern]`| Download scripts to disk. Never deletes or overwrites local files. |
|`init`| Write `.iobroker-sync.json`, verify the connection, create the script folder. Asks interactively when run without flags. `--types` also sets up TypeScript definitions. |
114
+
|`types`| Set up editor intellisense (`log`, `schedule`, ...). `--force`, `--offline`. |
115
+
|`login` / `logout`| Save or remove the password for this instance. Never stored in the project. |
116
+
|`trust`| Accept the instance's current TLS certificate. Only needed after it changes. `--yes` skips the prompt. |
117
+
|`doctor`| Check config, certificate, login, connection, a live round-trip and leftover adapter markers, and say which one is wrong. Read-only, never prompts. Run this first when something looks broken. |
118
+
|`pull [pattern]`| Download scripts to disk. Never deletes or overwrites local files. |
|`new <path>`| Create a new script (disabled) plus any missing folders. |
133
+
|`rename` / `move` / `remove`| Destructive. Require `--yes` and back up the object first. `remove` keeps the local file unless `--delete-local`. All three also clean up the `scriptEnabled`/`scriptProblem` states the old id leaves behind on every javascript instance. |
134
134
135
135
`--dry-run`, `--verbose`, `--json` and `-C <dir>` are global and work with every command.
136
136
When in doubt, `--dry-run` shows what would happen and changes nothing.
0 commit comments