@knocklabs/cli 0.1.16 → 0.1.17

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.16 linux-x64 node-v18.20.3
19
+ @knocklabs/cli/0.1.17 linux-x64 node-v18.20.3
20
20
  $ knock --help [COMMAND]
21
21
  USAGE
22
22
  $ knock COMMAND
@@ -68,7 +68,7 @@ FLAGS
68
68
  --service-token=<value> (required) The service token to authenticate with.
69
69
  ```
70
70
 
71
- _See code: [src/commands/commit/index.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/commit/index.ts)_
71
+ _See code: [src/commands/commit/index.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/commit/index.ts)_
72
72
 
73
73
  ## `knock commit get ID`
74
74
 
@@ -85,7 +85,7 @@ GLOBAL FLAGS
85
85
  --json Format output as json.
86
86
  ```
87
87
 
88
- _See code: [src/commands/commit/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/commit/get.ts)_
88
+ _See code: [src/commands/commit/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/commit/get.ts)_
89
89
 
90
90
  ## `knock commit list`
91
91
 
@@ -109,7 +109,7 @@ GLOBAL FLAGS
109
109
  --json Format output as json.
110
110
  ```
111
111
 
112
- _See code: [src/commands/commit/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/commit/list.ts)_
112
+ _See code: [src/commands/commit/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/commit/list.ts)_
113
113
 
114
114
  ## `knock commit promote`
115
115
 
@@ -126,7 +126,7 @@ FLAGS
126
126
  --to=<value> The destination environment to promote all changes from the preceding environment.
127
127
  ```
128
128
 
129
- _See code: [src/commands/commit/promote.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/commit/promote.ts)_
129
+ _See code: [src/commands/commit/promote.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/commit/promote.ts)_
130
130
 
131
131
  ## `knock help [COMMAND]`
132
132
 
@@ -166,7 +166,7 @@ GLOBAL FLAGS
166
166
  --json Format output as json.
167
167
  ```
168
168
 
169
- _See code: [src/commands/layout/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/layout/get.ts)_
169
+ _See code: [src/commands/layout/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/layout/get.ts)_
170
170
 
171
171
  ## `knock layout list`
172
172
 
@@ -189,7 +189,7 @@ GLOBAL FLAGS
189
189
  --json Format output as json.
190
190
  ```
191
191
 
192
- _See code: [src/commands/layout/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/layout/list.ts)_
192
+ _See code: [src/commands/layout/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/layout/list.ts)_
193
193
 
194
194
  ## `knock layout pull [EMAILLAYOUTKEY]`
195
195
 
@@ -209,7 +209,7 @@ FLAGS
209
209
  --service-token=<value> (required) The service token to authenticate with.
210
210
  ```
211
211
 
212
- _See code: [src/commands/layout/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/layout/pull.ts)_
212
+ _See code: [src/commands/layout/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/layout/pull.ts)_
213
213
 
214
214
  ## `knock layout push [EMAILLAYOUTKEY]`
215
215
 
@@ -231,7 +231,7 @@ FLAGS
231
231
  --service-token=<value> (required) The service token to authenticate with.
232
232
  ```
233
233
 
234
- _See code: [src/commands/layout/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/layout/push.ts)_
234
+ _See code: [src/commands/layout/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/layout/push.ts)_
235
235
 
236
236
  ## `knock layout validate [EMAILLAYOUTKEY]`
237
237
 
@@ -250,7 +250,7 @@ FLAGS
250
250
  --service-token=<value> (required) The service token to authenticate with.
251
251
  ```
252
252
 
253
- _See code: [src/commands/layout/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/layout/validate.ts)_
253
+ _See code: [src/commands/layout/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/layout/validate.ts)_
254
254
 
255
255
  ## `knock translation get TRANSLATIONREF`
256
256
 
@@ -277,7 +277,7 @@ GLOBAL FLAGS
277
277
  --json Format output as json.
278
278
  ```
279
279
 
280
- _See code: [src/commands/translation/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/translation/get.ts)_
280
+ _See code: [src/commands/translation/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/translation/get.ts)_
281
281
 
282
282
  ## `knock translation list`
283
283
 
@@ -300,7 +300,7 @@ GLOBAL FLAGS
300
300
  --json Format output as json.
301
301
  ```
302
302
 
303
- _See code: [src/commands/translation/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/translation/list.ts)_
303
+ _See code: [src/commands/translation/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/translation/list.ts)_
304
304
 
305
305
  ## `knock translation pull [TRANSLATIONREF]`
306
306
 
@@ -327,7 +327,7 @@ FLAGS
327
327
  --translations-dir=<value> The target directory path to pull all translations into.
328
328
  ```
329
329
 
330
- _See code: [src/commands/translation/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/translation/pull.ts)_
330
+ _See code: [src/commands/translation/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/translation/pull.ts)_
331
331
 
332
332
  ## `knock translation push [TRANSLATIONREF]`
333
333
 
@@ -354,7 +354,7 @@ FLAGS
354
354
  --translations-dir=<value> The target directory path to find all translations to push.
355
355
  ```
356
356
 
357
- _See code: [src/commands/translation/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/translation/push.ts)_
357
+ _See code: [src/commands/translation/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/translation/push.ts)_
358
358
 
359
359
  ## `knock translation validate [TRANSLATIONREF]`
360
360
 
@@ -379,7 +379,7 @@ FLAGS
379
379
  --translations-dir=<value> The target directory path to find all translations to validate.
380
380
  ```
381
381
 
382
- _See code: [src/commands/translation/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/translation/validate.ts)_
382
+ _See code: [src/commands/translation/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/translation/validate.ts)_
383
383
 
384
384
  ## `knock whoami`
385
385
 
@@ -396,7 +396,7 @@ GLOBAL FLAGS
396
396
  --json Format output as json.
397
397
  ```
398
398
 
399
- _See code: [src/commands/whoami.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/whoami.ts)_
399
+ _See code: [src/commands/whoami.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/whoami.ts)_
400
400
 
401
401
  ## `knock workflow activate WORKFLOWKEY`
402
402
 
@@ -423,7 +423,7 @@ DESCRIPTION
423
423
  with `false` in order to deactivate it.
424
424
  ```
425
425
 
426
- _See code: [src/commands/workflow/activate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/activate.ts)_
426
+ _See code: [src/commands/workflow/activate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/activate.ts)_
427
427
 
428
428
  ## `knock workflow get WORKFLOWKEY`
429
429
 
@@ -443,7 +443,7 @@ GLOBAL FLAGS
443
443
  --json Format output as json.
444
444
  ```
445
445
 
446
- _See code: [src/commands/workflow/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/get.ts)_
446
+ _See code: [src/commands/workflow/get.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/get.ts)_
447
447
 
448
448
  ## `knock workflow list`
449
449
 
@@ -466,7 +466,7 @@ GLOBAL FLAGS
466
466
  --json Format output as json.
467
467
  ```
468
468
 
469
- _See code: [src/commands/workflow/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/list.ts)_
469
+ _See code: [src/commands/workflow/list.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/list.ts)_
470
470
 
471
471
  ## `knock workflow pull [WORKFLOWKEY]`
472
472
 
@@ -486,7 +486,7 @@ FLAGS
486
486
  --workflows-dir=<value> The target directory path to pull all workflows into.
487
487
  ```
488
488
 
489
- _See code: [src/commands/workflow/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/pull.ts)_
489
+ _See code: [src/commands/workflow/pull.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/pull.ts)_
490
490
 
491
491
  ## `knock workflow push [WORKFLOWKEY]`
492
492
 
@@ -507,7 +507,7 @@ FLAGS
507
507
  --workflows-dir=<value> The target directory path to find all workflows to push.
508
508
  ```
509
509
 
510
- _See code: [src/commands/workflow/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/push.ts)_
510
+ _See code: [src/commands/workflow/push.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/push.ts)_
511
511
 
512
512
  ## `knock workflow run WORKFLOWKEY`
513
513
 
@@ -528,7 +528,7 @@ FLAGS
528
528
  --tenant=<value> A tenant id for the workflow run.
529
529
  ```
530
530
 
531
- _See code: [src/commands/workflow/run.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/run.ts)_
531
+ _See code: [src/commands/workflow/run.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/run.ts)_
532
532
 
533
533
  ## `knock workflow validate [WORKFLOWKEY]`
534
534
 
@@ -547,5 +547,5 @@ FLAGS
547
547
  --workflows-dir=<value> The target directory path to find all workflows to validate.
548
548
  ```
549
549
 
550
- _See code: [src/commands/workflow/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.16/src/commands/workflow/validate.ts)_
550
+ _See code: [src/commands/workflow/validate.ts](https://github.com/knocklabs/knock-cli/blob/v0.1.17/src/commands/workflow/validate.ts)_
551
551
  <!-- commandsstop -->
@@ -14,13 +14,17 @@ _export(exports, {
14
14
  buildEmailLayoutDirBundle: function() {
15
15
  return _processorisomorphic.buildEmailLayoutDirBundle;
16
16
  },
17
+ buildPartialDirBundle: function() {
18
+ return _processorisomorphic1.buildPartialDirBundle;
19
+ },
17
20
  buildTranslationDirBundle: function() {
18
- return _processorisomorphic1.buildTranslationDirBundle;
21
+ return _processorisomorphic2.buildTranslationDirBundle;
19
22
  },
20
23
  buildWorkflowDirBundle: function() {
21
- return _processorisomorphic2.buildWorkflowDirBundle;
24
+ return _processorisomorphic3.buildWorkflowDirBundle;
22
25
  }
23
26
  });
24
27
  const _processorisomorphic = require("./email-layout/processor.isomorphic");
25
- const _processorisomorphic1 = require("./translation/processor.isomorphic");
26
- const _processorisomorphic2 = require("./workflow/processor.isomorphic");
28
+ const _processorisomorphic1 = require("./partial/processor.isomorphic");
29
+ const _processorisomorphic2 = require("./translation/processor.isomorphic");
30
+ const _processorisomorphic3 = require("./workflow/processor.isomorphic");
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "PartialType", {
10
10
  });
11
11
  var PartialType;
12
12
  (function(PartialType) {
13
- PartialType["Html"] = "HTML";
14
- PartialType["Json"] = "JSON";
15
- PartialType["Markdown"] = "MARKDOWN";
16
- PartialType["Text"] = "TEXT";
13
+ PartialType["Html"] = "html";
14
+ PartialType["Json"] = "json";
15
+ PartialType["Markdown"] = "markdown";
16
+ PartialType["Text"] = "text";
17
17
  })(PartialType || (PartialType = {}));
@@ -1782,5 +1782,5 @@
1782
1782
  ]
1783
1783
  }
1784
1784
  },
1785
- "version": "0.1.16"
1785
+ "version": "0.1.17"
1786
1786
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knocklabs/cli",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Knock CLI",
5
5
  "author": "@knocklabs",
6
6
  "bin": {