@elgato/cli 0.3.0-beta.2 → 0.3.0-beta.4
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
CHANGED
|
@@ -24,15 +24,19 @@ npm install -g @elgato/cli
|
|
|
24
24
|
Usage: streamdeck [options] [command]
|
|
25
25
|
|
|
26
26
|
Options:
|
|
27
|
-
-
|
|
27
|
+
-v display CLI version
|
|
28
|
+
-h, --help display help for command
|
|
28
29
|
|
|
29
30
|
Commands:
|
|
30
|
-
create
|
|
31
|
-
link [path]
|
|
32
|
-
restart|r <uuid>
|
|
33
|
-
stop|s <uuid>
|
|
34
|
-
dev [options]
|
|
35
|
-
|
|
31
|
+
create Stream Deck plugin creation wizard.
|
|
32
|
+
link [path] Links the plugin to Stream Deck.
|
|
33
|
+
restart|r <uuid> Starts the plugin in Stream Deck; if the plugin is already running, it is stopped first.
|
|
34
|
+
stop|s <uuid> Stops the plugin in Stream Deck.
|
|
35
|
+
dev [options] Enables developer mode.
|
|
36
|
+
validate [options] [path] Validates the Stream Deck plugin.
|
|
37
|
+
pack|bundle [options] [path] Create a .streamDeckPlugin file from the plugin.
|
|
38
|
+
config Manage the local configuration.
|
|
39
|
+
help [command] display help for command
|
|
36
40
|
|
|
37
41
|
Alias:
|
|
38
42
|
streamdeck
|
|
@@ -45,6 +49,8 @@ Alias:
|
|
|
45
49
|
- [link](#-link)<br />Links the plugin to Stream Deck.
|
|
46
50
|
- [restart](#%EF%B8%8F-restart)<br />Starts the plugin in Stream Deck; if the plugin is already running, it is stopped first.
|
|
47
51
|
- [stop](#-stop)<br />Stops the plugin in Stream Deck.
|
|
52
|
+
- [validate](#sd-validate) (beta)<br />Validates the Stream Deck plugin.
|
|
53
|
+
- [pack](#sd-pack) (beta)<br />Create a .streamDeckPlugin file from the plugin.
|
|
48
54
|
- [dev](#%EF%B8%8F-dev)<br />Enables developer mode.
|
|
49
55
|
- [config](#%EF%B8%8F-config)<br />Manage the local configuration.
|
|
50
56
|
|
|
@@ -124,9 +130,10 @@ Instructs Stream Deck to stop the plugin, as determined by the UUID. When stoppe
|
|
|
124
130
|
#### See Also
|
|
125
131
|
|
|
126
132
|
- [restart](#%EF%B8%8F-restart)
|
|
127
|
-
<!--
|
|
128
133
|
|
|
129
|
-
|
|
134
|
+
<h3 id="sd-validate">
|
|
135
|
+
✅ validate (beta)
|
|
136
|
+
</h3>
|
|
130
137
|
|
|
131
138
|
Validates the Stream Deck plugin.
|
|
132
139
|
|
|
@@ -134,6 +141,13 @@ Validates the Stream Deck plugin.
|
|
|
134
141
|
|
|
135
142
|
```
|
|
136
143
|
streamdeck validate [path]
|
|
144
|
+
|
|
145
|
+
Arguments:
|
|
146
|
+
path Path of the plugin to validate
|
|
147
|
+
|
|
148
|
+
Options:
|
|
149
|
+
--force-update-check Forces an update check (default: false)
|
|
150
|
+
--no-update-check Disables updating schemas
|
|
137
151
|
```
|
|
138
152
|
|
|
139
153
|
### Description
|
|
@@ -155,7 +169,101 @@ Forces an update check of new validation rules; by default, an update check will
|
|
|
155
169
|
- Type: Boolean
|
|
156
170
|
|
|
157
171
|
Prevents an update check of new validation rules. This configuration option is recommended when using the CLI as part of a build pipeline. Cannot be used in conjunction with `--force-update-check`.
|
|
158
|
-
|
|
172
|
+
|
|
173
|
+
<h3 id="sd-pack">
|
|
174
|
+
📦 pack (beta)
|
|
175
|
+
</h3>
|
|
176
|
+
|
|
177
|
+
Creates a .streamDeckPlugin file from the plugin.
|
|
178
|
+
|
|
179
|
+
### Synopsis
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
streamdeck pack [options] [path]
|
|
183
|
+
|
|
184
|
+
Arguments:
|
|
185
|
+
path Path of the plugin to pack
|
|
186
|
+
|
|
187
|
+
Options:
|
|
188
|
+
--dry-run Generates a report without creating a package (default: false)
|
|
189
|
+
-f|--force Forces saving, overwriting an package if it exists (default: false)
|
|
190
|
+
-o|--output <output> Specifies the path for the output directory
|
|
191
|
+
--version <version> Plugin version; value will be written to the manifest"
|
|
192
|
+
--force-update-check Forces an update check (default: false)
|
|
193
|
+
--no-update-check Disables updating schemas
|
|
194
|
+
|
|
195
|
+
alias: bundle
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Description
|
|
199
|
+
|
|
200
|
+
Creates a `.streamDeckPlugin` installer file allowing the plugin to be distributed. The plugin must pass [validation](#sd-validate) prior to bundling.
|
|
201
|
+
|
|
202
|
+
By default, all files within the specified `path` are included except `.git`, `/.env*`, `*.log`, and `*.js.map` directories and files. To specify directories or files that should be ignored, a `.sdignore` file can be created in the root of the plugin, i.e. alongside the manifest, using [`.gitignore` specification](https://git-scm.com/docs/gitignore).
|
|
203
|
+
|
|
204
|
+
### Example
|
|
205
|
+
|
|
206
|
+
Create a `.streamDeckPlugin` of the plugin located in `com.elgato.test.sdPlugin/`, writing the packaged file to a `dist/` folder, specifying the new version.
|
|
207
|
+
|
|
208
|
+
```
|
|
209
|
+
streamdeck pack com.elgato.test.sdPlugin/ --output dist/
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Create a `.streamDeckPlugin` of the current working directory, specifying a new version of the plugin.
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
streamdeck pack --version 0.8.2
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
Generate a report for the plugin in the current working directory, without creating a `.streamDeckPlugin` file.
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
streamdeck pack --dry-run
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Configuration
|
|
225
|
+
|
|
226
|
+
#### `--dry-run`
|
|
227
|
+
|
|
228
|
+
- Default: `false`
|
|
229
|
+
- Type: Boolean
|
|
230
|
+
|
|
231
|
+
Generates a report without creating a package.
|
|
232
|
+
|
|
233
|
+
#### `-f|--force`
|
|
234
|
+
|
|
235
|
+
- Default: `false`
|
|
236
|
+
- Type: Boolean
|
|
237
|
+
|
|
238
|
+
Determines whether to overwrite the existing `.streamDeckPlugin` file if one already exists at the specified `output` directory.
|
|
239
|
+
|
|
240
|
+
#### `-o|--output <output>`
|
|
241
|
+
|
|
242
|
+
- Default: `cwd`
|
|
243
|
+
- Type: String
|
|
244
|
+
|
|
245
|
+
Specifies the path for the output directory where the `.streamDeckPlugin` file will be created.
|
|
246
|
+
|
|
247
|
+
#### `--version <version>`
|
|
248
|
+
|
|
249
|
+
- Default: `undefined`
|
|
250
|
+
- Type: String (semver)
|
|
251
|
+
|
|
252
|
+
Plugin version; value will be written to the manifest's `Version` property prior to packaging the plugin.
|
|
253
|
+
|
|
254
|
+
#### `--force-update-check`
|
|
255
|
+
|
|
256
|
+
- Default: `false`
|
|
257
|
+
- Type: Boolean
|
|
258
|
+
|
|
259
|
+
Forces an update check of new validation rules; by default, an update check will occur once a day. Cannot be used in conjunction with `--no-update-check`.
|
|
260
|
+
|
|
261
|
+
#### `--no-update-check`
|
|
262
|
+
|
|
263
|
+
- Default: `false`
|
|
264
|
+
- Type: Boolean
|
|
265
|
+
|
|
266
|
+
Prevents an update check of new validation rules. This configuration option is recommended when using the CLI as part of a build pipeline. Cannot be used in conjunction with `--force-update-check`.
|
|
159
267
|
|
|
160
268
|
## 🏗️ dev
|
|
161
269
|
|