Repository navigation
Expand file tree
/
Copy pathoptions.html
More file actions
187 lines (184 loc) · 24.1 KB
/
Copy pathoptions.html
File metadata and controls
187 lines (184 loc) · 24.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'">
<meta name="description" content="Every sync-servers option in one place: the global options, each command option from A to Z with the commands that take it, the environment variables and the preview modes.">
<title>Options | cmd-sync-servers</title>
<link rel="stylesheet" href="assets/site.css">
</head>
<body>
<a class="skip" href="#main">Skip to the content</a>
<header class="site-header">
<div class="inner">
<a class="brand" href="index.html">cmd-sync-servers</a>
<nav aria-label="Pages">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="quickstart.html">Quickstart</a></li>
<li><a href="getting-started.html">Getting started</a></li>
<li><a href="examples.html">Examples</a></li>
<li><a href="cheatsheets.html">Cheatsheets</a></li>
<li><a href="configuration.html">Configuration</a></li>
<li><a href="cli.html">Command line</a></li>
<li><a href="options.html" aria-current="page">Options</a></li>
<li><a href="synchronization.html">Synchronization</a></li>
<li><a href="api.html">Library API</a></li>
<li><a href="security.html">Security</a></li>
<li><a href="troubleshooting.html">Troubleshooting</a></li>
</ul>
</nav>
</div>
</header>
<main id="main">
<h1>Options</h1>
<p class="lead">Everything that changes how <code>sync-servers</code> runs, in one place: options on the command line, environment variables, and the ways a preview can be shown. The settings kept in <code>sites.json</code> are on <a href="configuration.html#sites-json">Configuration</a>.</p>
<ul>
<li><a href="#global-options">Global options</a></li>
<li><a href="#command-options">Command options from A to Z</a></li>
<li><a href="#environment">Environment variables</a></li>
<li><a href="#preview-modes">Preview modes</a></li>
</ul>
<!-- generated by npm run docs:cli from src/cli; edit the commands, not this section -->
<h2 id="global-options">Global options</h2>
<p>Every command takes these, before or after its own options.</p>
<table>
<caption>Global options</caption>
<thead><tr><th scope="col">Option</th><th scope="col">Does</th></tr></thead>
<tbody>
<tr><td><code>--site <name></code></td><td>The site to work on, by name or id</td></tr>
<tr><td><code>--server <name></code></td><td>The server to work on, by name or id</td></tr>
<tr><td><code>--config-dir <folder></code></td><td>Use this settings folder</td></tr>
<tr><td><code>--state-dir <folder></code></td><td>Use this state folder</td></tr>
<tr><td><code>--json</code></td><td>Write one JSON document to stdout</td></tr>
<tr><td><code>--plain</code></td><td>Use numbered line prompts, never a full-screen interface</td></tr>
<tr><td><code>--ascii</code></td><td>Use ASCII symbols only</td></tr>
<tr><td><code>--no-color</code></td><td>Turn colour off (NO_COLOR does too)</td></tr>
<tr><td><code>--debug</code></td><td>Also log details to stderr, with secrets removed</td></tr>
<tr><td><code>--cd-file <file></code></td><td>Write the chosen site folder here, for shell integration</td></tr>
<tr><td><code>--version</code></td><td>Print the version and exit</td></tr>
<tr><td><code>-h, --help</code></td><td>Print help and exit</td></tr>
</tbody>
</table>
<h2 id="command-options">Command options from A to Z</h2>
<p>Each option once, with what it does and the commands that take it. <code>sync-servers <command> --help</code> lists the options of one command.</p>
<table>
<caption>Command options</caption>
<thead><tr><th scope="col">Option</th><th scope="col">Does</th><th scope="col">Commands</th></tr></thead>
<tbody>
<tr><td><code>--allow-insecure</code></td><td>Allow plain FTP, which sends the password in clear text</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--allow-mass-delete</code></td><td>Run deletes past the mass-delete limit without asking</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--allow-root-deletes</code></td><td>Allow deletes when the remote root is "/" or a drive root</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--auth <method></code></td><td>password, key or agent (key and agent are SFTP only)</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--both</code></td><td>Get and put newer files</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--ca-file <file></code></td><td>FTPS: a PEM file of extra certificate authorities</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--cache</code></td><td>Cache local scans between runs (--no-cache to turn off)</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--case-sensitive</code></td><td>Treat file names as case-sensitive (--no-case-sensitive to turn off)</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--clear</code></td><td>Leave the site without a Testing server</td><td><a href="cli.html#command-server-set-testing"><code>server set-testing</code></a></td></tr>
<tr><td><code>--delete</code></td><td>Delete files missing on the other side (never-synchronized ones stay unchecked)</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--dir-mode <mode></code></td><td>Permissions for created folders, such as 755</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--disable</code></td><td>Turn cloaking off for the site, keeping its patterns</td><td><a href="cli.html#command-cloak"><code>cloak</code></a></td></tr>
<tr><td><code>--dreamweaver</code></td><td>Also remove this server's entries from Dreamweaver's _notes/dwsync.xml; without it, a site that uses those records takes them over again at its next sync</td><td><a href="cli.html#command-state-reset"><code>state reset</code></a></td></tr>
<tr><td><code>--dreamweaver</code></td><td>Read and update the synchronization records Dreamweaver keeps as _notes/dwsync.xml (--no-dreamweaver to leave them alone)</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--dreamweaver</code></td><td>Read and update the synchronization records Dreamweaver keeps as _notes/dwsync.xml (default: when the folder holds some; --no-dreamweaver to leave them alone)</td><td><a href="cli.html#command-site-add"><code>site add</code></a></td></tr>
<tr><td><code>--dreamweaver-server <name></code></td><td>The name Dreamweaver gives this server in _notes/dwsync.xml, such as 203.0.113.10//public_html/; "auto" builds it from the host and the remote root</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--dry-run</code></td><td>Show the preview and transfer nothing</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--editor</code></td><td>Edit the whole server as JSON in your editor</td><td><a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--editor</code></td><td>Edit the whole site as JSON in your editor</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--enable</code></td><td>Turn cloaking on for the site</td><td><a href="cli.html#command-cloak"><code>cloak</code></a></td></tr>
<tr><td><code>--file-mode <mode></code></td><td>Permissions for uploaded files, such as 644</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--forget-certificate</code></td><td>Remove the trusted TLS certificate; the next connection verifies it again</td><td><a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--forget-host-key</code></td><td>Remove the pinned SSH host key, after checking the new one with the host</td><td><a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--get</code></td><td>Get newer files from the server</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--global</code></td><td>Work on the global patterns, which every site uses before its own</td><td><a href="cli.html#command-cloak"><code>cloak</code></a>, <a href="cli.html#command-uncloak"><code>uncloak</code></a></td></tr>
<tr><td><code>--host <host></code></td><td>The host name or IP address; host:port and sftp://, ftps:// and ftpes:// addresses work too</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--host-key <fingerprint></code></td><td>Accept this SSH host key (SHA256:...) when it is not pinned yet</td><td><a href="cli.html#command-sync"><code>sync</code></a>, <a href="cli.html#command-put"><code>put</code></a>, <a href="cli.html#command-get"><code>get</code></a>, <a href="cli.html#command-status"><code>status</code></a>, <a href="cli.html#command-diff"><code>diff</code></a>, <a href="cli.html#command-mark-synced"><code>mark-synced</code></a></td></tr>
<tr><td><code>--host-key <fingerprint></code></td><td>Accept this SSH host key (SHA256:...) when it is not pinned yet, for scripts</td><td><a href="cli.html#command-server-test"><code>server test</code></a></td></tr>
<tr><td><code>--ignore-global</code></td><td>Stop using the global patterns in the site</td><td><a href="cli.html#command-cloak"><code>cloak</code></a></td></tr>
<tr><td><code>--ip-family <4|6></code></td><td>Connect over IPv4 or IPv6 only</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--key-path <file></code></td><td>The private key file for --auth key</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--kind <kind></code></td><td>password (default) or passphrase, for a private key</td><td><a href="cli.html#command-password-set"><code>password set</code></a></td></tr>
<tr><td><code>--kind <kind></code></td><td>password or passphrase; both when not given</td><td><a href="cli.html#command-password-forget"><code>password forget</code></a></td></tr>
<tr><td><code>--legacy-algorithms</code></td><td>SFTP: allow older algorithms for an old server</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--list</code></td><td>Show the cloaking settings</td><td><a href="cli.html#command-cloak"><code>cloak</code></a></td></tr>
<tr><td><code>--local-root <folder></code></td><td>Move the local site folder</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--local-root <folder></code></td><td>The local site folder, which must exist</td><td><a href="cli.html#command-site-add"><code>site add</code></a></td></tr>
<tr><td><code>--name <name></code></td><td>Rename the site</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--name <name></code></td><td>The server name, unique within the site (default: the host)</td><td><a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--name <name></code></td><td>The site name, unique ignoring case</td><td><a href="cli.html#command-site-add"><code>site add</code></a></td></tr>
<tr><td><code>--path</code></td><td>Treat every argument as a path inside the local root</td><td><a href="cli.html#command-cloak"><code>cloak</code></a>, <a href="cli.html#command-uncloak"><code>uncloak</code></a></td></tr>
<tr><td><code>--pattern</code></td><td>Treat every argument as a pattern</td><td><a href="cli.html#command-cloak"><code>cloak</code></a>, <a href="cli.html#command-uncloak"><code>uncloak</code></a></td></tr>
<tr><td><code>--plan-in <file></code></td><td>Run a saved plan, if the site and server have not changed since</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--plan-out <file></code></td><td>Save the plan as JSON</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--port <port></code></td><td>The port, when not the protocol default</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--preview <mode></code></td><td>Show the preview in the terminal UI (tui), your editor, plain prompts, or print it (none)</td><td><a href="cli.html#command-sync"><code>sync</code></a>, <a href="cli.html#command-put"><code>put</code></a>, <a href="cli.html#command-get"><code>get</code></a></td></tr>
<tr><td><code>--protocol <protocol></code></td><td>sftp (default), ftps, ftps-implicit, ftp or local</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--put</code></td><td>Put newer files to the server</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>-r, --range <time></code></td><td>With --put: only the files created or modified in the last <time>, such as 90m, 24h, 2d or 1w</td><td><a href="cli.html#command-sync"><code>sync</code></a></td></tr>
<tr><td><code>--remote</code></td><td>Make it the site's Remote server, used to synchronize</td><td><a href="cli.html#command-server-add"><code>server add</code></a></td></tr>
<tr><td><code>--remote-root <path></code></td><td>The site root on the server; for local, a folder</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--save-password</code></td><td>Keep the password in the OS credential store (--no-save-password to stop)</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--server-name <name></code></td><td>The name of the first server (default: its host)</td><td><a href="cli.html#command-site-add"><code>site add</code></a></td></tr>
<tr><td><code>--stdin</code></td><td>Read it from standard input instead of asking</td><td><a href="cli.html#command-password-set"><code>password set</code></a></td></tr>
<tr><td><code>--symlinks <policy></code></td><td>Symbolic links in the local folder: skip them (skip), follow those inside the site (follow-inside-root), or follow all (follow)</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--testing</code></td><td>Make it the site's Testing server</td><td><a href="cli.html#command-server-add"><code>server add</code></a></td></tr>
<tr><td><code>--timeout <seconds></code></td><td>Seconds to wait for the server (default 30)</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--tls-min-version <version></code></td><td>FTPS: TLSv1.2 (default) or TLSv1.3</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--tls-servername <host></code></td><td>FTPS: the name to verify the certificate against</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--trust-certificate <sha256></code></td><td>Accept this TLS certificate (SHA-256 fingerprint) when it does not verify</td><td><a href="cli.html#command-sync"><code>sync</code></a>, <a href="cli.html#command-put"><code>put</code></a>, <a href="cli.html#command-get"><code>get</code></a>, <a href="cli.html#command-status"><code>status</code></a>, <a href="cli.html#command-diff"><code>diff</code></a>, <a href="cli.html#command-mark-synced"><code>mark-synced</code></a></td></tr>
<tr><td><code>--trust-certificate <sha256></code></td><td>Accept this TLS certificate (SHA-256 fingerprint) when it does not verify, for scripts</td><td><a href="cli.html#command-server-test"><code>server test</code></a></td></tr>
<tr><td><code>--upload-on-save</code></td><td>Upload files when they are saved in the VS Code extension</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--use-global</code></td><td>Use the global patterns in the site, as sites do unless told otherwise</td><td><a href="cli.html#command-cloak"><code>cloak</code></a></td></tr>
<tr><td><code>--user <name></code></td><td>The user name</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>--web-url <url></code></td><td>The local web address, such as http://localhost:8080/</td><td><a href="cli.html#command-site-edit"><code>site edit</code></a></td></tr>
<tr><td><code>--web-url <url></code></td><td>The web address of the site on this server</td><td><a href="cli.html#command-site-add"><code>site add</code></a>, <a href="cli.html#command-server-add"><code>server add</code></a>, <a href="cli.html#command-server-edit"><code>server edit</code></a></td></tr>
<tr><td><code>-y, --yes</code></td><td>Do not ask for confirmation</td><td><a href="cli.html#command-site-remove"><code>site remove</code></a>, <a href="cli.html#command-server-remove"><code>server remove</code></a></td></tr>
<tr><td><code>-y, --yes</code></td><td>Run without asking for confirmation</td><td><a href="cli.html#command-sync"><code>sync</code></a>, <a href="cli.html#command-put"><code>put</code></a>, <a href="cli.html#command-get"><code>get</code></a>, <a href="cli.html#command-state-reset"><code>state reset</code></a></td></tr>
</tbody>
</table>
<!-- end of generated section -->
<h2 id="environment">Environment variables</h2>
<table>
<caption>Variables sync-servers reads</caption>
<thead><tr><th scope="col">Variable</th><th scope="col">Does</th></tr></thead>
<tbody>
<tr><td><code>SYNC_SERVERS_HOME</code></td><td>Moves the settings folder there, and the state folder to its <code>state</code> folder.</td></tr>
<tr><td><code>SYNC_SERVERS_SITE</code></td><td>The site to use when a command names none, by name or id.</td></tr>
<tr><td><code>SYNC_SERVERS_PASSWORD</code></td><td>The password of the server in use, for unattended runs. A saved password comes first.</td></tr>
<tr><td><code>SYNC_SERVERS_KEY_PASSPHRASE</code></td><td>The passphrase of the private key of the server in use.</td></tr>
<tr><td><code>SYNC_SERVERS_KEYRING</code></td><td><code>off</code>, <code>0</code>, <code>false</code> or <code>no</code> turns the operating system's credential store off.</td></tr>
<tr><td><code>SYNC_SERVERS_UI</code></td><td>How previews are shown when <code>--preview</code> is not given: <code>tui</code>, <code>editor</code>, <code>plain</code> or <code>none</code>.</td></tr>
<tr><td><code>SYNC_SERVERS_EDITOR</code></td><td>The editor for editor mode, <code>--editor</code> and <code>config edit</code>, with its arguments, such as <code>code --wait</code>.</td></tr>
<tr><td><code>VISUAL</code>, <code>EDITOR</code></td><td>The editor when <code>SYNC_SERVERS_EDITOR</code> is not set, in that order. Without any, Notepad on Windows, then <code>nano</code> or <code>vi</code>.</td></tr>
<tr><td><code>SSH_AUTH_SOCK</code></td><td>The SSH agent for the <code>agent</code> sign-in method. On Windows the OpenSSH agent is used when it is not set.</td></tr>
<tr><td><code>NO_COLOR</code></td><td>Any value but an empty one turns colour off, as <code>--no-color</code> does. Nothing depends on colour.</td></tr>
<tr><td><code>TERM=dumb</code></td><td>ASCII symbols and plain prompts, with no full-screen drawing.</td></tr>
</tbody>
</table>
<p>Setting one for a single command:</p>
<pre><code>SYNC_SERVERS_UI=plain sync-servers sync --put</code></pre>
<p>In <code>cmd.exe</code>, for the rest of the session:</p>
<pre><code>set "SYNC_SERVERS_UI=plain"
sync-servers sync --put</code></pre>
<h2 id="preview-modes">Preview modes</h2>
<p><code>sync</code>, and <code>put</code> or <code>get</code> when a decision is needed, show a preview before anything moves. <code>--preview</code> chooses how:</p>
<table>
<caption>Values of --preview</caption>
<thead><tr><th scope="col">Mode</th><th scope="col">Shows the preview</th></tr></thead>
<tbody>
<tr><td><code>tui</code></td><td>Full screen, row by row. The default in a terminal.</td></tr>
<tr><td><code>editor</code></td><td>As a text file in your editor; see <a href="cli.html#editor-mode">Editor mode</a>.</td></tr>
<tr><td><code>plain</code></td><td>As numbered rows and typed commands; see <a href="cli.html#plain-mode">Plain mode</a>.</td></tr>
<tr><td><code>none</code></td><td>Printed, then one yes or no question in a terminal. The default without a terminal.</td></tr>
</tbody>
</table>
<p>Without <code>--preview</code>, the mode is <code>none</code> when nobody can answer: with <code>--yes</code>, <code>--dry-run</code>, <code>--json</code>, or no terminal. Otherwise it comes from <code>SYNC_SERVERS_UI</code>, else <code>tui</code>, which becomes <code>plain</code> with <code>--plain</code>, with <code>TERM=dumb</code>, or in a terminal that cannot take single key presses.</p>
</main>
<footer class="site-footer">
<div class="inner">
<p>cmd-sync-servers is open source under the MIT license. Source, issues and releases are on <a href="https://github.com/isocialPractice/cmd-sync-servers">GitHub</a>.</p>
</div>
</footer>
</body>
</html>