@knocklabs/cli 0.1.5 → 0.1.6

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
@@ -16,7 +16,7 @@ $ npm install -g @knocklabs/cli
16
16
  $ knock COMMAND
17
17
  running command...
18
18
  $ knock (--version)
19
- @knocklabs/cli/0.1.5 linux-x64 node-v18.18.0
19
+ @knocklabs/cli/0.1.6 linux-x64 node-v18.18.0
20
20
  $ knock --help [COMMAND]
21
21
  USAGE
22
22
  $ knock COMMAND
@@ -29,16 +29,6 @@ USAGE
29
29
  <!-- commands -->
30
30
  * [`knock commit`](#knock-commit)
31
31
  * [`knock commit promote`](#knock-commit-promote)
32
- * [`knock email-layout get EMAILLAYOUTKEY`](#knock-email-layout-get-emaillayoutkey)
33
- * [`knock email-layout list`](#knock-email-layout-list)
34
- * [`knock email-layout pull [EMAILLAYOUTKEY]`](#knock-email-layout-pull-emaillayoutkey)
35
- * [`knock email-layout push [EMAILLAYOUTKEY]`](#knock-email-layout-push-emaillayoutkey)
36
- * [`knock email-layout validate [EMAILLAYOUTKEY]`](#knock-email-layout-validate-emaillayoutkey)
37
- * [`knock email_layout get EMAILLAYOUTKEY`](#knock-email_layout-get-emaillayoutkey)
38
- * [`knock email_layout list`](#knock-email_layout-list)
39
- * [`knock email_layout pull [EMAILLAYOUTKEY]`](#knock-email_layout-pull-emaillayoutkey)
40
- * [`knock email_layout push [EMAILLAYOUTKEY]`](#knock-email_layout-push-emaillayoutkey)
41
- * [`knock email_layout validate [EMAILLAYOUTKEY]`](#knock-email_layout-validate-emaillayoutkey)
42
32
  * [`knock help [COMMANDS]`](#knock-help-commands)
43
33
  * [`knock layout get EMAILLAYOUTKEY`](#knock-layout-get-emaillayoutkey)
44
34
  * [`knock layout list`](#knock-layout-list)
@@ -85,7 +75,7 @@ FLAGS
85
75
  --service-token=<value> (required) The service token to authenticate with.
86
76
  ```
87
77
 
88
- _See code: [dist/commands/commit/index.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/commit/index.ts)_
78
+ _See code: [dist/commands/commit/index.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/commit/index.ts)_
89
79
 
90
80
  ## `knock commit promote`
91
81
 
@@ -101,235 +91,7 @@ FLAGS
101
91
  --to=<value> (required) The destination environment to promote changes from the preceding environment.
102
92
  ```
103
93
 
104
- _See code: [dist/commands/commit/promote.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/commit/promote.ts)_
105
-
106
- ## `knock email-layout get EMAILLAYOUTKEY`
107
-
108
- Display a single email layout from an environment.
109
-
110
- ```
111
- USAGE
112
- $ knock email-layout get EMAILLAYOUTKEY --service-token <value> [--environment <value>] [--hide-uncommitted-changes]
113
- [--json]
114
-
115
- FLAGS
116
- --environment=<value> [default: development] The environment to use.
117
- --hide-uncommitted-changes Hide any uncommitted changes.
118
- --service-token=<value> (required) The service token to authenticate with.
119
-
120
- GLOBAL FLAGS
121
- --json Format output as json.
122
-
123
- ALIASES
124
- $ knock email-layout get
125
- $ knock email_layout get
126
- ```
127
-
128
- ## `knock email-layout list`
129
-
130
- Display all email layouts for an environment.
131
-
132
- ```
133
- USAGE
134
- $ knock email-layout list --service-token <value> [--environment <value>] [--hide-uncommitted-changes] [--after
135
- <value>] [--before <value>] [--limit <value>] [--json]
136
-
137
- FLAGS
138
- --after=<value> The cursor after which to fetch the next page.
139
- --before=<value> The cursor before which to fetch the previous page.
140
- --environment=<value> [default: development] The environment to use.
141
- --hide-uncommitted-changes Hide any uncommitted changes.
142
- --limit=<value> The total number of entries to fetch per page.
143
- --service-token=<value> (required) The service token to authenticate with.
144
-
145
- GLOBAL FLAGS
146
- --json Format output as json.
147
-
148
- ALIASES
149
- $ knock email-layout list
150
- $ knock email_layout list
151
- ```
152
-
153
- ## `knock email-layout pull [EMAILLAYOUTKEY]`
154
-
155
- Pull one or more email layouts from an environment into a local file system.
156
-
157
- ```
158
- USAGE
159
- $ knock email-layout pull [EMAILLAYOUTKEY] --service-token <value> [--environment <value>] [--layouts-dir <value>
160
- --all] [--hide-uncommitted-changes] [--force]
161
-
162
- FLAGS
163
- --all Whether to pull all email layouts from the specified environment.
164
- --environment=<value> [default: development] The environment to use.
165
- --force Remove the confirmation prompt.
166
- --hide-uncommitted-changes Hide any uncommitted changes.
167
- --layouts-dir=<value> The target directory path to pull all email layouts into.
168
- --service-token=<value> (required) The service token to authenticate with.
169
-
170
- ALIASES
171
- $ knock email-layout pull
172
- $ knock email_layout pull
173
- ```
174
-
175
- ## `knock email-layout push [EMAILLAYOUTKEY]`
176
-
177
- Push one or more email layouts from a local file system to Knock.
178
-
179
- ```
180
- USAGE
181
- $ knock email-layout push [EMAILLAYOUTKEY] --service-token <value> [--environment development] [--layouts-dir <value>
182
- --all] [-m <value> --commit]
183
-
184
- FLAGS
185
- -m, --commit-message=<value> Use the given value as the commit message
186
- --all Whether to push all layouts from the target directory.
187
- --commit Push and commit the layout(s) at the same time
188
- --environment=<option> [default: development] Pushing an email layout is only allowed in the development
189
- environment
190
- <options: development>
191
- --layouts-dir=<value> The target directory path to find all layouts to push.
192
- --service-token=<value> (required) The service token to authenticate with.
193
-
194
- ALIASES
195
- $ knock email-layout push
196
- $ knock email_layout push
197
- ```
198
-
199
- ## `knock email-layout validate [EMAILLAYOUTKEY]`
200
-
201
- Validate one or more layouts from a local file system.
202
-
203
- ```
204
- USAGE
205
- $ knock email-layout validate [EMAILLAYOUTKEY] --service-token <value> [--environment development] [--layouts-dir <value>
206
- --all]
207
-
208
- FLAGS
209
- --all Whether to validate all layouts from the target directory.
210
- --environment=<option> [default: development] Validating a layout is only done in the development environment
211
- <options: development>
212
- --layouts-dir=<value> The target directory path to find all layouts to validate.
213
- --service-token=<value> (required) The service token to authenticate with.
214
-
215
- ALIASES
216
- $ knock email-layout validate
217
- $ knock email_layout validate
218
- ```
219
-
220
- ## `knock email_layout get EMAILLAYOUTKEY`
221
-
222
- Display a single email layout from an environment.
223
-
224
- ```
225
- USAGE
226
- $ knock email_layout get EMAILLAYOUTKEY --service-token <value> [--environment <value>] [--hide-uncommitted-changes]
227
- [--json]
228
-
229
- FLAGS
230
- --environment=<value> [default: development] The environment to use.
231
- --hide-uncommitted-changes Hide any uncommitted changes.
232
- --service-token=<value> (required) The service token to authenticate with.
233
-
234
- GLOBAL FLAGS
235
- --json Format output as json.
236
-
237
- ALIASES
238
- $ knock email-layout get
239
- $ knock email_layout get
240
- ```
241
-
242
- ## `knock email_layout list`
243
-
244
- Display all email layouts for an environment.
245
-
246
- ```
247
- USAGE
248
- $ knock email_layout list --service-token <value> [--environment <value>] [--hide-uncommitted-changes] [--after
249
- <value>] [--before <value>] [--limit <value>] [--json]
250
-
251
- FLAGS
252
- --after=<value> The cursor after which to fetch the next page.
253
- --before=<value> The cursor before which to fetch the previous page.
254
- --environment=<value> [default: development] The environment to use.
255
- --hide-uncommitted-changes Hide any uncommitted changes.
256
- --limit=<value> The total number of entries to fetch per page.
257
- --service-token=<value> (required) The service token to authenticate with.
258
-
259
- GLOBAL FLAGS
260
- --json Format output as json.
261
-
262
- ALIASES
263
- $ knock email-layout list
264
- $ knock email_layout list
265
- ```
266
-
267
- ## `knock email_layout pull [EMAILLAYOUTKEY]`
268
-
269
- Pull one or more email layouts from an environment into a local file system.
270
-
271
- ```
272
- USAGE
273
- $ knock email_layout pull [EMAILLAYOUTKEY] --service-token <value> [--environment <value>] [--layouts-dir <value>
274
- --all] [--hide-uncommitted-changes] [--force]
275
-
276
- FLAGS
277
- --all Whether to pull all email layouts from the specified environment.
278
- --environment=<value> [default: development] The environment to use.
279
- --force Remove the confirmation prompt.
280
- --hide-uncommitted-changes Hide any uncommitted changes.
281
- --layouts-dir=<value> The target directory path to pull all email layouts into.
282
- --service-token=<value> (required) The service token to authenticate with.
283
-
284
- ALIASES
285
- $ knock email-layout pull
286
- $ knock email_layout pull
287
- ```
288
-
289
- ## `knock email_layout push [EMAILLAYOUTKEY]`
290
-
291
- Push one or more email layouts from a local file system to Knock.
292
-
293
- ```
294
- USAGE
295
- $ knock email_layout push [EMAILLAYOUTKEY] --service-token <value> [--environment development] [--layouts-dir <value>
296
- --all] [-m <value> --commit]
297
-
298
- FLAGS
299
- -m, --commit-message=<value> Use the given value as the commit message
300
- --all Whether to push all layouts from the target directory.
301
- --commit Push and commit the layout(s) at the same time
302
- --environment=<option> [default: development] Pushing an email layout is only allowed in the development
303
- environment
304
- <options: development>
305
- --layouts-dir=<value> The target directory path to find all layouts to push.
306
- --service-token=<value> (required) The service token to authenticate with.
307
-
308
- ALIASES
309
- $ knock email-layout push
310
- $ knock email_layout push
311
- ```
312
-
313
- ## `knock email_layout validate [EMAILLAYOUTKEY]`
314
-
315
- Validate one or more layouts from a local file system.
316
-
317
- ```
318
- USAGE
319
- $ knock email_layout validate [EMAILLAYOUTKEY] --service-token <value> [--environment development] [--layouts-dir <value>
320
- --all]
321
-
322
- FLAGS
323
- --all Whether to validate all layouts from the target directory.
324
- --environment=<option> [default: development] Validating a layout is only done in the development environment
325
- <options: development>
326
- --layouts-dir=<value> The target directory path to find all layouts to validate.
327
- --service-token=<value> (required) The service token to authenticate with.
328
-
329
- ALIASES
330
- $ knock email-layout validate
331
- $ knock email_layout validate
332
- ```
94
+ _See code: [dist/commands/commit/promote.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/commit/promote.ts)_
333
95
 
334
96
  ## `knock help [COMMANDS]`
335
97
 
@@ -367,13 +129,9 @@ FLAGS
367
129
 
368
130
  GLOBAL FLAGS
369
131
  --json Format output as json.
370
-
371
- ALIASES
372
- $ knock email-layout get
373
- $ knock email_layout get
374
132
  ```
375
133
 
376
- _See code: [dist/commands/layout/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/layout/get.ts)_
134
+ _See code: [dist/commands/layout/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/layout/get.ts)_
377
135
 
378
136
  ## `knock layout list`
379
137
 
@@ -394,13 +152,9 @@ FLAGS
394
152
 
395
153
  GLOBAL FLAGS
396
154
  --json Format output as json.
397
-
398
- ALIASES
399
- $ knock email-layout list
400
- $ knock email_layout list
401
155
  ```
402
156
 
403
- _See code: [dist/commands/layout/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/layout/list.ts)_
157
+ _See code: [dist/commands/layout/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/layout/list.ts)_
404
158
 
405
159
  ## `knock layout pull [EMAILLAYOUTKEY]`
406
160
 
@@ -418,13 +172,9 @@ FLAGS
418
172
  --hide-uncommitted-changes Hide any uncommitted changes.
419
173
  --layouts-dir=<value> The target directory path to pull all email layouts into.
420
174
  --service-token=<value> (required) The service token to authenticate with.
421
-
422
- ALIASES
423
- $ knock email-layout pull
424
- $ knock email_layout pull
425
175
  ```
426
176
 
427
- _See code: [dist/commands/layout/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/layout/pull.ts)_
177
+ _See code: [dist/commands/layout/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/layout/pull.ts)_
428
178
 
429
179
  ## `knock layout push [EMAILLAYOUTKEY]`
430
180
 
@@ -444,13 +194,9 @@ FLAGS
444
194
  <options: development>
445
195
  --layouts-dir=<value> The target directory path to find all layouts to push.
446
196
  --service-token=<value> (required) The service token to authenticate with.
447
-
448
- ALIASES
449
- $ knock email-layout push
450
- $ knock email_layout push
451
197
  ```
452
198
 
453
- _See code: [dist/commands/layout/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/layout/push.ts)_
199
+ _See code: [dist/commands/layout/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/layout/push.ts)_
454
200
 
455
201
  ## `knock layout validate [EMAILLAYOUTKEY]`
456
202
 
@@ -467,13 +213,9 @@ FLAGS
467
213
  <options: development>
468
214
  --layouts-dir=<value> The target directory path to find all layouts to validate.
469
215
  --service-token=<value> (required) The service token to authenticate with.
470
-
471
- ALIASES
472
- $ knock email-layout validate
473
- $ knock email_layout validate
474
216
  ```
475
217
 
476
- _See code: [dist/commands/layout/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/layout/validate.ts)_
218
+ _See code: [dist/commands/layout/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/layout/validate.ts)_
477
219
 
478
220
  ## `knock plugins`
479
221
 
@@ -496,7 +238,7 @@ EXAMPLES
496
238
  $ knock plugins
497
239
  ```
498
240
 
499
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/index.ts)_
241
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/index.ts)_
500
242
 
501
243
  ## `knock plugins:install PLUGIN...`
502
244
 
@@ -561,7 +303,7 @@ EXAMPLES
561
303
  $ knock plugins:inspect myplugin
562
304
  ```
563
305
 
564
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/inspect.ts)_
306
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/inspect.ts)_
565
307
 
566
308
  ## `knock plugins:install PLUGIN...`
567
309
 
@@ -601,7 +343,7 @@ EXAMPLES
601
343
  $ knock plugins:install someuser/someplugin
602
344
  ```
603
345
 
604
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/install.ts)_
346
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/install.ts)_
605
347
 
606
348
  ## `knock plugins:link PLUGIN`
607
349
 
@@ -615,8 +357,9 @@ ARGUMENTS
615
357
  PATH [default: .] path to plugin
616
358
 
617
359
  FLAGS
618
- -h, --help Show CLI help.
360
+ -h, --help Show CLI help.
619
361
  -v, --verbose
362
+ --[no-]install Install dependencies after linking the plugin.
620
363
 
621
364
  DESCRIPTION
622
365
  Links a plugin into the CLI for development.
@@ -630,7 +373,7 @@ EXAMPLES
630
373
  $ knock plugins:link myplugin
631
374
  ```
632
375
 
633
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/link.ts)_
376
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/link.ts)_
634
377
 
635
378
  ## `knock plugins:uninstall PLUGIN...`
636
379
 
@@ -678,7 +421,7 @@ ALIASES
678
421
  $ knock plugins remove
679
422
  ```
680
423
 
681
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/uninstall.ts)_
424
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/uninstall.ts)_
682
425
 
683
426
  ## `knock plugins:uninstall PLUGIN...`
684
427
 
@@ -719,7 +462,7 @@ DESCRIPTION
719
462
  Update installed plugins.
720
463
  ```
721
464
 
722
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.1.6/src/commands/plugins/update.ts)_
465
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.1/src/commands/plugins/update.ts)_
723
466
 
724
467
  ## `knock translation get TRANSLATIONREF`
725
468
 
@@ -744,7 +487,7 @@ GLOBAL FLAGS
744
487
  --json Format output as json.
745
488
  ```
746
489
 
747
- _See code: [dist/commands/translation/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/translation/get.ts)_
490
+ _See code: [dist/commands/translation/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/translation/get.ts)_
748
491
 
749
492
  ## `knock translation list`
750
493
 
@@ -767,7 +510,7 @@ GLOBAL FLAGS
767
510
  --json Format output as json.
768
511
  ```
769
512
 
770
- _See code: [dist/commands/translation/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/translation/list.ts)_
513
+ _See code: [dist/commands/translation/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/translation/list.ts)_
771
514
 
772
515
  ## `knock translation pull [TRANSLATIONREF]`
773
516
 
@@ -792,7 +535,7 @@ FLAGS
792
535
  --translations-dir=<value> The target directory path to pull all translations into.
793
536
  ```
794
537
 
795
- _See code: [dist/commands/translation/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/translation/pull.ts)_
538
+ _See code: [dist/commands/translation/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/translation/pull.ts)_
796
539
 
797
540
  ## `knock translation push [TRANSLATIONREF]`
798
541
 
@@ -819,7 +562,7 @@ FLAGS
819
562
  --translations-dir=<value> The target directory path to find all translations to push.
820
563
  ```
821
564
 
822
- _See code: [dist/commands/translation/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/translation/push.ts)_
565
+ _See code: [dist/commands/translation/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/translation/push.ts)_
823
566
 
824
567
  ## `knock translation validate [TRANSLATIONREF]`
825
568
 
@@ -844,7 +587,7 @@ FLAGS
844
587
  --translations-dir=<value> The target directory path to find all translations to validate.
845
588
  ```
846
589
 
847
- _See code: [dist/commands/translation/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/translation/validate.ts)_
590
+ _See code: [dist/commands/translation/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/translation/validate.ts)_
848
591
 
849
592
  ## `knock whoami`
850
593
 
@@ -861,7 +604,7 @@ GLOBAL FLAGS
861
604
  --json Format output as json.
862
605
  ```
863
606
 
864
- _See code: [dist/commands/whoami.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/whoami.ts)_
607
+ _See code: [dist/commands/whoami.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/whoami.ts)_
865
608
 
866
609
  ## `knock workflow activate WORKFLOWKEY`
867
610
 
@@ -888,7 +631,7 @@ DESCRIPTION
888
631
  with `false` in order to deactivate it.
889
632
  ```
890
633
 
891
- _See code: [dist/commands/workflow/activate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/activate.ts)_
634
+ _See code: [dist/commands/workflow/activate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/activate.ts)_
892
635
 
893
636
  ## `knock workflow get WORKFLOWKEY`
894
637
 
@@ -908,7 +651,7 @@ GLOBAL FLAGS
908
651
  --json Format output as json.
909
652
  ```
910
653
 
911
- _See code: [dist/commands/workflow/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/get.ts)_
654
+ _See code: [dist/commands/workflow/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/get.ts)_
912
655
 
913
656
  ## `knock workflow list`
914
657
 
@@ -931,7 +674,7 @@ GLOBAL FLAGS
931
674
  --json Format output as json.
932
675
  ```
933
676
 
934
- _See code: [dist/commands/workflow/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/list.ts)_
677
+ _See code: [dist/commands/workflow/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/list.ts)_
935
678
 
936
679
  ## `knock workflow pull [WORKFLOWKEY]`
937
680
 
@@ -951,7 +694,7 @@ FLAGS
951
694
  --workflows-dir=<value> The target directory path to pull all workflows into.
952
695
  ```
953
696
 
954
- _See code: [dist/commands/workflow/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/pull.ts)_
697
+ _See code: [dist/commands/workflow/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/pull.ts)_
955
698
 
956
699
  ## `knock workflow push [WORKFLOWKEY]`
957
700
 
@@ -972,7 +715,7 @@ FLAGS
972
715
  --workflows-dir=<value> The target directory path to find all workflows to push.
973
716
  ```
974
717
 
975
- _See code: [dist/commands/workflow/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/push.ts)_
718
+ _See code: [dist/commands/workflow/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/push.ts)_
976
719
 
977
720
  ## `knock workflow run WORKFLOWKEY`
978
721
 
@@ -993,7 +736,7 @@ FLAGS
993
736
  --tenant=<value> A tenant id for the workflow run.
994
737
  ```
995
738
 
996
- _See code: [dist/commands/workflow/run.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/run.ts)_
739
+ _See code: [dist/commands/workflow/run.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/run.ts)_
997
740
 
998
741
  ## `knock workflow validate [WORKFLOWKEY]`
999
742
 
@@ -1012,5 +755,5 @@ FLAGS
1012
755
  --workflows-dir=<value> The target directory path to find all workflows to validate.
1013
756
  ```
1014
757
 
1015
- _See code: [dist/commands/workflow/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.5/dist/commands/workflow/validate.ts)_
758
+ _See code: [dist/commands/workflow/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.6/dist/commands/workflow/validate.ts)_
1016
759
  <!-- commandsstop -->
@@ -76,10 +76,6 @@ class EmailLayoutGet extends _baseCommand.default {
76
76
  }
77
77
  }
78
78
  }
79
- EmailLayoutGet.aliases = [
80
- "email-layout:get",
81
- "email_layout:get"
82
- ];
83
79
  EmailLayoutGet.summary = "Display a single email layout from an environment.";
84
80
  EmailLayoutGet.flags = {
85
81
  environment: _core.Flags.string({
@@ -68,10 +68,6 @@ class EmailLayoutList extends _baseCommand.default {
68
68
  }
69
69
  }
70
70
  }
71
- EmailLayoutList.aliases = [
72
- "email-layout:list",
73
- "email_layout:list"
74
- ];
75
71
  EmailLayoutList.summary = "Display all email layouts for an environment.";
76
72
  EmailLayoutList.flags = {
77
73
  environment: _core.Flags.string({
@@ -163,10 +163,6 @@ class EmailLayoutPull extends _baseCommand.default {
163
163
  return this.error("Missing 1 required arg:\nemailLayoutKey");
164
164
  }
165
165
  }
166
- EmailLayoutPull.aliases = [
167
- "email-layout:pull",
168
- "email_layout:pull"
169
- ];
170
166
  EmailLayoutPull.summary = "Pull one or more email layouts from an environment into a local file system.";
171
167
  EmailLayoutPull.flags = {
172
168
  environment: _core.Flags.string({
@@ -116,10 +116,6 @@ class EmailLayoutPush extends _baseCommand.default {
116
116
  this.log(`‣ Successfully ${actioned} ${layouts.length} layout(s):\n` + (0, _string.indentString)(layoutKeys.join("\n"), 4));
117
117
  }
118
118
  }
119
- EmailLayoutPush.aliases = [
120
- "email-layout:push",
121
- "email_layout:push"
122
- ];
123
119
  EmailLayoutPush.summary = "Push one or more email layouts from a local file system to Knock.";
124
120
  EmailLayoutPush.flags = {
125
121
  environment: _core.Flags.string({
@@ -101,10 +101,6 @@ class EmailLayoutValidate extends _baseCommand.default {
101
101
  return errors;
102
102
  }
103
103
  }
104
- EmailLayoutValidate.aliases = [
105
- "email-layout:validate",
106
- "email_layout:validate"
107
- ];
108
104
  EmailLayoutValidate.summary = "Validate one or more layouts from a local file system.";
109
105
  EmailLayoutValidate.flags = {
110
106
  environment: _core.Flags.string({
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.5",
2
+ "version": "0.1.6",
3
3
  "commands": {
4
4
  "knock": {
5
5
  "id": "knock",
@@ -181,10 +181,7 @@
181
181
  "pluginName": "@knocklabs/cli",
182
182
  "pluginAlias": "@knocklabs/cli",
183
183
  "pluginType": "core",
184
- "aliases": [
185
- "email-layout:get",
186
- "email_layout:get"
187
- ],
184
+ "aliases": [],
188
185
  "flags": {
189
186
  "service-token": {
190
187
  "name": "service-token",
@@ -235,10 +232,7 @@
235
232
  "pluginName": "@knocklabs/cli",
236
233
  "pluginAlias": "@knocklabs/cli",
237
234
  "pluginType": "core",
238
- "aliases": [
239
- "email-layout:list",
240
- "email_layout:list"
241
- ],
235
+ "aliases": [],
242
236
  "flags": {
243
237
  "service-token": {
244
238
  "name": "service-token",
@@ -302,10 +296,7 @@
302
296
  "pluginName": "@knocklabs/cli",
303
297
  "pluginAlias": "@knocklabs/cli",
304
298
  "pluginType": "core",
305
- "aliases": [
306
- "email-layout:pull",
307
- "email_layout:pull"
308
- ],
299
+ "aliases": [],
309
300
  "flags": {
310
301
  "service-token": {
311
302
  "name": "service-token",
@@ -373,10 +364,7 @@
373
364
  "pluginName": "@knocklabs/cli",
374
365
  "pluginAlias": "@knocklabs/cli",
375
366
  "pluginType": "core",
376
- "aliases": [
377
- "email-layout:push",
378
- "email_layout:push"
379
- ],
367
+ "aliases": [],
380
368
  "flags": {
381
369
  "service-token": {
382
370
  "name": "service-token",
@@ -451,10 +439,7 @@
451
439
  "pluginName": "@knocklabs/cli",
452
440
  "pluginAlias": "@knocklabs/cli",
453
441
  "pluginType": "core",
454
- "aliases": [
455
- "email-layout:validate",
456
- "email_layout:validate"
457
- ],
442
+ "aliases": [],
458
443
  "flags": {
459
444
  "service-token": {
460
445
  "name": "service-token",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knocklabs/cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Knock CLI",
5
5
  "author": "@knocklabs",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "@types/chai": "^4",
39
39
  "@types/fs-extra": "^11.0.1",
40
40
  "@types/mocha": "^10.0.1",
41
- "@types/node": "^20.4.1",
41
+ "@types/node": "^20.8.6",
42
42
  "chai": "^4",
43
43
  "eslint": "^7.32.0",
44
44
  "eslint-config-oclif": "^4",
@@ -54,7 +54,7 @@
54
54
  "sinon": "^15.2.0",
55
55
  "ts-node": "^10.9.1",
56
56
  "tsconfig-paths": "^4.2.0",
57
- "tslib": "^2.6.0",
57
+ "tslib": "^2.6.2",
58
58
  "typescript": "^5.1.6"
59
59
  },
60
60
  "oclif": {