@hesed/conni 0.9.2 → 0.9.3

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
@@ -26,7 +26,7 @@ $ npm install -g @hesed/conni
26
26
  $ conni COMMAND
27
27
  running command...
28
28
  $ conni (--version)
29
- @hesed/conni/0.9.2 linux-x64 node-v24.17.0
29
+ @hesed/conni/0.9.3 linux-x64 node-v24.17.0
30
30
  $ conni --help [COMMAND]
31
31
  USAGE
32
32
  $ conni COMMAND
@@ -43,6 +43,7 @@ USAGE
43
43
  * [`conni conni auth profile`](#conni-conni-auth-profile)
44
44
  * [`conni conni auth test`](#conni-conni-auth-test)
45
45
  * [`conni conni auth update`](#conni-conni-auth-update)
46
+ * [`conni conni content PAGEID`](#conni-conni-content-pageid)
46
47
  * [`conni conni content attachment PAGEID FILE`](#conni-conni-content-attachment-pageid-file)
47
48
  * [`conni conni content attachment-download ATTACHMENTID [OUTPUTPATH]`](#conni-conni-content-attachment-download-attachmentid-outputpath)
48
49
  * [`conni conni content comment PAGEID BODY`](#conni-conni-content-comment-pageid-body)
@@ -50,10 +51,9 @@ USAGE
50
51
  * [`conni conni content comment-update ID BODY`](#conni-conni-content-comment-update-id-body)
51
52
  * [`conni conni content create`](#conni-conni-content-create)
52
53
  * [`conni conni content delete PAGEID`](#conni-conni-content-delete-pageid)
53
- * [`conni conni content get PAGEID`](#conni-conni-content-get-pageid)
54
54
  * [`conni conni content search CQL`](#conni-conni-content-search-cql)
55
55
  * [`conni conni content update PAGEID`](#conni-conni-content-update-pageid)
56
- * [`conni conni space get SPACEKEY`](#conni-conni-space-get-spacekey)
56
+ * [`conni conni space SPACEKEY`](#conni-conni-space-spacekey)
57
57
  * [`conni conni space list`](#conni-conni-space-list)
58
58
 
59
59
  ## `conni conni auth add`
@@ -82,7 +82,7 @@ EXAMPLES
82
82
  $ conni conni auth add -p prod
83
83
  ```
84
84
 
85
- _See code: [src/commands/conni/auth/add.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/add.ts)_
85
+ _See code: [src/commands/conni/auth/add.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/add.ts)_
86
86
 
87
87
  ## `conni conni auth delete`
88
88
 
@@ -107,7 +107,7 @@ EXAMPLES
107
107
  $ conni conni auth delete -p prod
108
108
  ```
109
109
 
110
- _See code: [src/commands/conni/auth/delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/delete.ts)_
110
+ _See code: [src/commands/conni/auth/delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/delete.ts)_
111
111
 
112
112
  ## `conni conni auth list`
113
113
 
@@ -127,7 +127,7 @@ EXAMPLES
127
127
  $ conni conni auth list
128
128
  ```
129
129
 
130
- _See code: [src/commands/conni/auth/list.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/list.ts)_
130
+ _See code: [src/commands/conni/auth/list.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/list.ts)_
131
131
 
132
132
  ## `conni conni auth profile`
133
133
 
@@ -152,7 +152,7 @@ EXAMPLES
152
152
  $ conni conni auth profile --default test
153
153
  ```
154
154
 
155
- _See code: [src/commands/conni/auth/profile.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/profile.ts)_
155
+ _See code: [src/commands/conni/auth/profile.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/profile.ts)_
156
156
 
157
157
  ## `conni conni auth test`
158
158
 
@@ -177,7 +177,7 @@ EXAMPLES
177
177
  $ conni conni auth test -p prod
178
178
  ```
179
179
 
180
- _See code: [src/commands/conni/auth/test.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/test.ts)_
180
+ _See code: [src/commands/conni/auth/test.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/test.ts)_
181
181
 
182
182
  ## `conni conni auth update`
183
183
 
@@ -205,7 +205,31 @@ EXAMPLES
205
205
  $ conni conni auth update -p test
206
206
  ```
207
207
 
208
- _See code: [src/commands/conni/auth/update.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/auth/update.ts)_
208
+ _See code: [src/commands/conni/auth/update.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/auth/update.ts)_
209
+
210
+ ## `conni conni content PAGEID`
211
+
212
+ Get details of a Confluence content
213
+
214
+ ```
215
+ USAGE
216
+ $ conni conni content PAGEID [-p <value>] [--toon]
217
+
218
+ ARGUMENTS
219
+ PAGEID Page ID
220
+
221
+ FLAGS
222
+ -p, --profile=<value> Authentication profile name
223
+ --toon Format output as toon
224
+
225
+ DESCRIPTION
226
+ Get details of a Confluence content
227
+
228
+ EXAMPLES
229
+ $ conni conni content 1544060948
230
+ ```
231
+
232
+ _See code: [src/commands/conni/content/index.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/index.ts)_
209
233
 
210
234
  ## `conni conni content attachment PAGEID FILE`
211
235
 
@@ -213,7 +237,7 @@ Add attachment to Confluence content
213
237
 
214
238
  ```
215
239
  USAGE
216
- $ conni conni content attachment PAGEID FILE [--json] [-p <value>] [--toon]
240
+ $ conni conni content attachment PAGEID FILE [-p <value>] [--toon]
217
241
 
218
242
  ARGUMENTS
219
243
  PAGEID Page ID
@@ -223,9 +247,6 @@ FLAGS
223
247
  -p, --profile=<value> Authentication profile name
224
248
  --toon Format output as toon
225
249
 
226
- GLOBAL FLAGS
227
- --json Format output as json.
228
-
229
250
  DESCRIPTION
230
251
  Add attachment to Confluence content
231
252
 
@@ -233,7 +254,7 @@ EXAMPLES
233
254
  $ conni conni content attachment 123456 ./document.pdf
234
255
  ```
235
256
 
236
- _See code: [src/commands/conni/content/attachment.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/attachment.ts)_
257
+ _See code: [src/commands/conni/content/attachment.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/attachment.ts)_
237
258
 
238
259
  ## `conni conni content attachment-download ATTACHMENTID [OUTPUTPATH]`
239
260
 
@@ -241,7 +262,7 @@ Download attachment from Confluence content
241
262
 
242
263
  ```
243
264
  USAGE
244
- $ conni conni content attachment-download ATTACHMENTID [OUTPUTPATH] [--json] [-p <value>] [--toon]
265
+ $ conni conni content attachment-download ATTACHMENTID [OUTPUTPATH] [-p <value>] [--toon]
245
266
 
246
267
  ARGUMENTS
247
268
  ATTACHMENTID Attachment ID
@@ -251,9 +272,6 @@ FLAGS
251
272
  -p, --profile=<value> Authentication profile name
252
273
  --toon Format output as toon
253
274
 
254
- GLOBAL FLAGS
255
- --json Format output as json.
256
-
257
275
  DESCRIPTION
258
276
  Download attachment from Confluence content
259
277
 
@@ -263,7 +281,7 @@ EXAMPLES
263
281
  $ conni conni content attachment-download att12345 ./document.pdf
264
282
  ```
265
283
 
266
- _See code: [src/commands/conni/content/attachment-download.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/attachment-download.ts)_
284
+ _See code: [src/commands/conni/content/attachment-download.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/attachment-download.ts)_
267
285
 
268
286
  ## `conni conni content comment PAGEID BODY`
269
287
 
@@ -271,7 +289,7 @@ Add comment to Confluence content
271
289
 
272
290
  ```
273
291
  USAGE
274
- $ conni conni content comment PAGEID BODY [--json] [-p <value>] [--toon]
292
+ $ conni conni content comment PAGEID BODY [-p <value>] [--toon]
275
293
 
276
294
  ARGUMENTS
277
295
  PAGEID Page ID
@@ -281,9 +299,6 @@ FLAGS
281
299
  -p, --profile=<value> Authentication profile name
282
300
  --toon Format output as toon
283
301
 
284
- GLOBAL FLAGS
285
- --json Format output as json.
286
-
287
302
  DESCRIPTION
288
303
  Add comment to Confluence content
289
304
 
@@ -300,7 +315,7 @@ EXAMPLES
300
315
  $ conni conni content comment 123456 "$(cat content.md)"
301
316
  ```
302
317
 
303
- _See code: [src/commands/conni/content/comment.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/comment.ts)_
318
+ _See code: [src/commands/conni/content/comment.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/comment.ts)_
304
319
 
305
320
  ## `conni conni content comment-delete ID`
306
321
 
@@ -308,7 +323,7 @@ Delete comment from Confluence content
308
323
 
309
324
  ```
310
325
  USAGE
311
- $ conni conni content comment-delete ID [--json] [-p <value>] [--toon]
326
+ $ conni conni content comment-delete ID [-p <value>] [--toon]
312
327
 
313
328
  ARGUMENTS
314
329
  ID Comment ID to delete
@@ -317,9 +332,6 @@ FLAGS
317
332
  -p, --profile=<value> Authentication profile name
318
333
  --toon Format output as toon
319
334
 
320
- GLOBAL FLAGS
321
- --json Format output as json.
322
-
323
335
  DESCRIPTION
324
336
  Delete comment from Confluence content
325
337
 
@@ -327,7 +339,7 @@ EXAMPLES
327
339
  $ conni conni content comment-delete 1544224770
328
340
  ```
329
341
 
330
- _See code: [src/commands/conni/content/comment-delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/comment-delete.ts)_
342
+ _See code: [src/commands/conni/content/comment-delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/comment-delete.ts)_
331
343
 
332
344
  ## `conni conni content comment-update ID BODY`
333
345
 
@@ -335,7 +347,7 @@ Update a comment in Confluence content
335
347
 
336
348
  ```
337
349
  USAGE
338
- $ conni conni content comment-update ID BODY [--json] [-p <value>] [--toon]
350
+ $ conni conni content comment-update ID BODY [-p <value>] [--toon]
339
351
 
340
352
  ARGUMENTS
341
353
  ID Comment ID to update
@@ -345,9 +357,6 @@ FLAGS
345
357
  -p, --profile=<value> Authentication profile name
346
358
  --toon Format output as toon
347
359
 
348
- GLOBAL FLAGS
349
- --json Format output as json.
350
-
351
360
  DESCRIPTION
352
361
  Update a comment in Confluence content
353
362
 
@@ -364,7 +373,7 @@ EXAMPLES
364
373
  $ conni conni content comment-update 1544224770 "$(cat content.md)"
365
374
  ```
366
375
 
367
- _See code: [src/commands/conni/content/comment-update.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/comment-update.ts)_
376
+ _See code: [src/commands/conni/content/comment-update.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/comment-update.ts)_
368
377
 
369
378
  ## `conni conni content create`
370
379
 
@@ -372,7 +381,7 @@ Create a new Confluence page
372
381
 
373
382
  ```
374
383
  USAGE
375
- $ conni conni content create --fields <value>... [--json] [--attach <value>...] [--full-width] [-p <value>] [--toon]
384
+ $ conni conni content create --fields <value>... [--attach <value>...] [--full-width] [-p <value>] [--toon]
376
385
 
377
386
  FLAGS
378
387
  -p, --profile=<value> Authentication profile name
@@ -381,9 +390,6 @@ FLAGS
381
390
  --full-width Set page appearance to full-width
382
391
  --toon Format output as toon
383
392
 
384
- GLOBAL FLAGS
385
- --json Format output as json.
386
-
387
393
  DESCRIPTION
388
394
  Create a new Confluence page
389
395
 
@@ -414,7 +420,7 @@ FLAG DESCRIPTIONS
414
420
  Content fields in key=value format. Use @file to read value from a file (e.g. body=@content.xml)
415
421
  ```
416
422
 
417
- _See code: [src/commands/conni/content/create.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/create.ts)_
423
+ _See code: [src/commands/conni/content/create.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/create.ts)_
418
424
 
419
425
  ## `conni conni content delete PAGEID`
420
426
 
@@ -422,7 +428,7 @@ Delete a Confluence page
422
428
 
423
429
  ```
424
430
  USAGE
425
- $ conni conni content delete PAGEID [--json] [-p <value>] [--toon]
431
+ $ conni conni content delete PAGEID [-p <value>] [--toon]
426
432
 
427
433
  ARGUMENTS
428
434
  PAGEID Page ID to delete
@@ -431,9 +437,6 @@ FLAGS
431
437
  -p, --profile=<value> Authentication profile name
432
438
  --toon Format output as toon
433
439
 
434
- GLOBAL FLAGS
435
- --json Format output as json.
436
-
437
440
  DESCRIPTION
438
441
  Delete a Confluence page
439
442
 
@@ -441,34 +444,7 @@ EXAMPLES
441
444
  $ conni conni content delete 1543634992
442
445
  ```
443
446
 
444
- _See code: [src/commands/conni/content/delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/delete.ts)_
445
-
446
- ## `conni conni content get PAGEID`
447
-
448
- Get details of a Confluence content
449
-
450
- ```
451
- USAGE
452
- $ conni conni content get PAGEID [--json] [-p <value>] [--toon]
453
-
454
- ARGUMENTS
455
- PAGEID Page ID
456
-
457
- FLAGS
458
- -p, --profile=<value> Authentication profile name
459
- --toon Format output as toon
460
-
461
- GLOBAL FLAGS
462
- --json Format output as json.
463
-
464
- DESCRIPTION
465
- Get details of a Confluence content
466
-
467
- EXAMPLES
468
- $ conni conni content get 1544060948
469
- ```
470
-
471
- _See code: [src/commands/conni/content/get.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/get.ts)_
447
+ _See code: [src/commands/conni/content/delete.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/delete.ts)_
472
448
 
473
449
  ## `conni conni content search CQL`
474
450
 
@@ -476,7 +452,7 @@ Search for Confluence contents using CQL
476
452
 
477
453
  ```
478
454
  USAGE
479
- $ conni conni content search CQL [--json] [--expand <value>] [--limit <value>] [-p <value>] [--toon]
455
+ $ conni conni content search CQL [--expand <value>] [--limit <value>] [-p <value>] [--toon]
480
456
 
481
457
  ARGUMENTS
482
458
  CQL CQL expression
@@ -487,9 +463,6 @@ FLAGS
487
463
  --limit=<value> Maximum number of contents per page
488
464
  --toon Format output as toon
489
465
 
490
- GLOBAL FLAGS
491
- --json Format output as json.
492
-
493
466
  DESCRIPTION
494
467
  Search for Confluence contents using CQL
495
468
 
@@ -499,7 +472,7 @@ EXAMPLES
499
472
  $ conni conni content search 'created > startOfMonth()' --limit=5 --expand=body,version
500
473
  ```
501
474
 
502
- _See code: [src/commands/conni/content/search.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/search.ts)_
475
+ _See code: [src/commands/conni/content/search.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/search.ts)_
503
476
 
504
477
  ## `conni conni content update PAGEID`
505
478
 
@@ -507,7 +480,7 @@ Update an existing Confluence content
507
480
 
508
481
  ```
509
482
  USAGE
510
- $ conni conni content update PAGEID --fields <value>... [--json] [--full-width] [-p <value>] [--toon]
483
+ $ conni conni content update PAGEID --fields <value>... [--full-width] [-p <value>] [--toon]
511
484
 
512
485
  ARGUMENTS
513
486
  PAGEID Page ID
@@ -519,9 +492,6 @@ FLAGS
519
492
  --full-width Set page appearance to full-width
520
493
  --toon Format output as toon
521
494
 
522
- GLOBAL FLAGS
523
- --json Format output as json.
524
-
525
495
  DESCRIPTION
526
496
  Update an existing Confluence content
527
497
 
@@ -542,15 +512,15 @@ EXAMPLES
542
512
  $ conni conni content update 1076199489 --fields body=@storage.xml representation=storage --full-width
543
513
  ```
544
514
 
545
- _See code: [src/commands/conni/content/update.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/content/update.ts)_
515
+ _See code: [src/commands/conni/content/update.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/content/update.ts)_
546
516
 
547
- ## `conni conni space get SPACEKEY`
517
+ ## `conni conni space SPACEKEY`
548
518
 
549
519
  Get details of a Confluence space
550
520
 
551
521
  ```
552
522
  USAGE
553
- $ conni conni space get SPACEKEY [--json] [-p <value>] [--toon]
523
+ $ conni conni space SPACEKEY [-p <value>] [--toon]
554
524
 
555
525
  ARGUMENTS
556
526
  SPACEKEY Space key
@@ -559,17 +529,14 @@ FLAGS
559
529
  -p, --profile=<value> Authentication profile name
560
530
  --toon Format output as toon
561
531
 
562
- GLOBAL FLAGS
563
- --json Format output as json.
564
-
565
532
  DESCRIPTION
566
533
  Get details of a Confluence space
567
534
 
568
535
  EXAMPLES
569
- $ conni conni space get DEV
536
+ $ conni conni space DEV
570
537
  ```
571
538
 
572
- _See code: [src/commands/conni/space/get.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/space/get.ts)_
539
+ _See code: [src/commands/conni/space/index.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/space/index.ts)_
573
540
 
574
541
  ## `conni conni space list`
575
542
 
@@ -577,15 +544,12 @@ List all Confluence spaces
577
544
 
578
545
  ```
579
546
  USAGE
580
- $ conni conni space list [--json] [-p <value>] [--toon]
547
+ $ conni conni space list [-p <value>] [--toon]
581
548
 
582
549
  FLAGS
583
550
  -p, --profile=<value> Authentication profile name
584
551
  --toon Format output as toon
585
552
 
586
- GLOBAL FLAGS
587
- --json Format output as json.
588
-
589
553
  DESCRIPTION
590
554
  List all Confluence spaces
591
555
 
@@ -593,5 +557,5 @@ EXAMPLES
593
557
  $ conni conni space list
594
558
  ```
595
559
 
596
- _See code: [src/commands/conni/space/list.ts](https://github.com/hesedcasa/conni/blob/v0.9.2/src/commands/conni/space/list.ts)_
560
+ _See code: [src/commands/conni/space/list.ts](https://github.com/hesedcasa/conni/blob/v0.9.3/src/commands/conni/space/list.ts)_
597
561
  <!-- commandsstop -->
@@ -1,6 +1,5 @@
1
1
  import { Command } from '@oclif/core';
2
2
  export declare abstract class BaseCommand extends Command {
3
- static enableJsonFlag: boolean;
4
3
  jsonEnabled(): boolean;
5
4
  protected parse(options?: any, argv?: string[]): Promise<any>;
6
5
  protected toErrorJson(err: unknown): {
@@ -1,6 +1,5 @@
1
1
  import { Command } from '@oclif/core';
2
2
  export class BaseCommand extends Command {
3
- static enableJsonFlag = true;
4
3
  jsonEnabled() {
5
4
  const separatorIndex = this.argv.indexOf('--');
6
5
  const flagArgs = separatorIndex === -1 ? this.argv : this.argv.slice(0, separatorIndex);
@@ -301,110 +301,6 @@
301
301
  "update.js"
302
302
  ]
303
303
  },
304
- "conni:space:get": {
305
- "aliases": [],
306
- "args": {
307
- "spaceKey": {
308
- "description": "Space key",
309
- "name": "spaceKey",
310
- "required": true
311
- }
312
- },
313
- "description": "Get details of a Confluence space",
314
- "examples": [
315
- "<%= config.bin %> <%= command.id %> DEV"
316
- ],
317
- "flags": {
318
- "json": {
319
- "description": "Format output as json.",
320
- "helpGroup": "GLOBAL",
321
- "name": "json",
322
- "allowNo": false,
323
- "type": "boolean"
324
- },
325
- "profile": {
326
- "char": "p",
327
- "description": "Authentication profile name",
328
- "name": "profile",
329
- "required": false,
330
- "hasDynamicHelp": false,
331
- "multiple": false,
332
- "type": "option"
333
- },
334
- "toon": {
335
- "description": "Format output as toon",
336
- "name": "toon",
337
- "required": false,
338
- "allowNo": false,
339
- "type": "boolean"
340
- }
341
- },
342
- "hasDynamicHelp": false,
343
- "hiddenAliases": [],
344
- "id": "conni:space:get",
345
- "pluginAlias": "@hesed/conni",
346
- "pluginName": "@hesed/conni",
347
- "pluginType": "core",
348
- "strict": true,
349
- "enableJsonFlag": true,
350
- "isESM": true,
351
- "relativePath": [
352
- "dist",
353
- "commands",
354
- "conni",
355
- "space",
356
- "get.js"
357
- ]
358
- },
359
- "conni:space:list": {
360
- "aliases": [],
361
- "args": {},
362
- "description": "List all Confluence spaces",
363
- "examples": [
364
- "<%= config.bin %> <%= command.id %>"
365
- ],
366
- "flags": {
367
- "json": {
368
- "description": "Format output as json.",
369
- "helpGroup": "GLOBAL",
370
- "name": "json",
371
- "allowNo": false,
372
- "type": "boolean"
373
- },
374
- "profile": {
375
- "char": "p",
376
- "description": "Authentication profile name",
377
- "name": "profile",
378
- "required": false,
379
- "hasDynamicHelp": false,
380
- "multiple": false,
381
- "type": "option"
382
- },
383
- "toon": {
384
- "description": "Format output as toon",
385
- "name": "toon",
386
- "required": false,
387
- "allowNo": false,
388
- "type": "boolean"
389
- }
390
- },
391
- "hasDynamicHelp": false,
392
- "hiddenAliases": [],
393
- "id": "conni:space:list",
394
- "pluginAlias": "@hesed/conni",
395
- "pluginName": "@hesed/conni",
396
- "pluginType": "core",
397
- "strict": true,
398
- "enableJsonFlag": true,
399
- "isESM": true,
400
- "relativePath": [
401
- "dist",
402
- "commands",
403
- "conni",
404
- "space",
405
- "list.js"
406
- ]
407
- },
408
304
  "conni:content:attachment-download": {
409
305
  "aliases": [],
410
306
  "args": {
@@ -425,13 +321,6 @@
425
321
  "<%= config.bin %> <%= command.id %> att12345 ./document.pdf"
426
322
  ],
427
323
  "flags": {
428
- "json": {
429
- "description": "Format output as json.",
430
- "helpGroup": "GLOBAL",
431
- "name": "json",
432
- "allowNo": false,
433
- "type": "boolean"
434
- },
435
324
  "profile": {
436
325
  "char": "p",
437
326
  "description": "Authentication profile name",
@@ -456,7 +345,6 @@
456
345
  "pluginName": "@hesed/conni",
457
346
  "pluginType": "core",
458
347
  "strict": true,
459
- "enableJsonFlag": true,
460
348
  "isESM": true,
461
349
  "relativePath": [
462
350
  "dist",
@@ -485,13 +373,6 @@
485
373
  "<%= config.bin %> <%= command.id %> 123456 ./document.pdf"
486
374
  ],
487
375
  "flags": {
488
- "json": {
489
- "description": "Format output as json.",
490
- "helpGroup": "GLOBAL",
491
- "name": "json",
492
- "allowNo": false,
493
- "type": "boolean"
494
- },
495
376
  "profile": {
496
377
  "char": "p",
497
378
  "description": "Authentication profile name",
@@ -516,7 +397,6 @@
516
397
  "pluginName": "@hesed/conni",
517
398
  "pluginType": "core",
518
399
  "strict": true,
519
- "enableJsonFlag": true,
520
400
  "isESM": true,
521
401
  "relativePath": [
522
402
  "dist",
@@ -540,13 +420,6 @@
540
420
  "<%= config.bin %> <%= command.id %> 1544224770"
541
421
  ],
542
422
  "flags": {
543
- "json": {
544
- "description": "Format output as json.",
545
- "helpGroup": "GLOBAL",
546
- "name": "json",
547
- "allowNo": false,
548
- "type": "boolean"
549
- },
550
423
  "profile": {
551
424
  "char": "p",
552
425
  "description": "Authentication profile name",
@@ -571,7 +444,6 @@
571
444
  "pluginName": "@hesed/conni",
572
445
  "pluginType": "core",
573
446
  "strict": true,
574
- "enableJsonFlag": true,
575
447
  "isESM": true,
576
448
  "relativePath": [
577
449
  "dist",
@@ -601,13 +473,6 @@
601
473
  "<%= config.bin %> <%= command.id %> 1544224770 \"$(cat content.md)\""
602
474
  ],
603
475
  "flags": {
604
- "json": {
605
- "description": "Format output as json.",
606
- "helpGroup": "GLOBAL",
607
- "name": "json",
608
- "allowNo": false,
609
- "type": "boolean"
610
- },
611
476
  "profile": {
612
477
  "char": "p",
613
478
  "description": "Authentication profile name",
@@ -632,7 +497,6 @@
632
497
  "pluginName": "@hesed/conni",
633
498
  "pluginType": "core",
634
499
  "strict": true,
635
- "enableJsonFlag": true,
636
500
  "isESM": true,
637
501
  "relativePath": [
638
502
  "dist",
@@ -662,13 +526,6 @@
662
526
  "<%= config.bin %> <%= command.id %> 123456 \"$(cat content.md)\""
663
527
  ],
664
528
  "flags": {
665
- "json": {
666
- "description": "Format output as json.",
667
- "helpGroup": "GLOBAL",
668
- "name": "json",
669
- "allowNo": false,
670
- "type": "boolean"
671
- },
672
529
  "profile": {
673
530
  "char": "p",
674
531
  "description": "Authentication profile name",
@@ -693,7 +550,6 @@
693
550
  "pluginName": "@hesed/conni",
694
551
  "pluginType": "core",
695
552
  "strict": true,
696
- "enableJsonFlag": true,
697
553
  "isESM": true,
698
554
  "relativePath": [
699
555
  "dist",
@@ -716,13 +572,6 @@
716
572
  "<%= config.bin %> <%= command.id %> --fields spaceKey=\"DEV\" title=\"Storage page\" body=@storage.xml representation=storage --full-width"
717
573
  ],
718
574
  "flags": {
719
- "json": {
720
- "description": "Format output as json.",
721
- "helpGroup": "GLOBAL",
722
- "name": "json",
723
- "allowNo": false,
724
- "type": "boolean"
725
- },
726
575
  "attach": {
727
576
  "description": "Path to a file to upload and embed inline (can be used multiple times)",
728
577
  "name": "attach",
@@ -771,7 +620,6 @@
771
620
  "pluginName": "@hesed/conni",
772
621
  "pluginType": "core",
773
622
  "strict": true,
774
- "enableJsonFlag": true,
775
623
  "isESM": true,
776
624
  "relativePath": [
777
625
  "dist",
@@ -795,13 +643,6 @@
795
643
  "<%= config.bin %> <%= command.id %> 1543634992"
796
644
  ],
797
645
  "flags": {
798
- "json": {
799
- "description": "Format output as json.",
800
- "helpGroup": "GLOBAL",
801
- "name": "json",
802
- "allowNo": false,
803
- "type": "boolean"
804
- },
805
646
  "profile": {
806
647
  "char": "p",
807
648
  "description": "Authentication profile name",
@@ -826,7 +667,6 @@
826
667
  "pluginName": "@hesed/conni",
827
668
  "pluginType": "core",
828
669
  "strict": true,
829
- "enableJsonFlag": true,
830
670
  "isESM": true,
831
671
  "relativePath": [
832
672
  "dist",
@@ -836,7 +676,7 @@
836
676
  "delete.js"
837
677
  ]
838
678
  },
839
- "conni:content:get": {
679
+ "conni:content": {
840
680
  "aliases": [],
841
681
  "args": {
842
682
  "pageId": {
@@ -850,13 +690,6 @@
850
690
  "<%= config.bin %> <%= command.id %> 1544060948"
851
691
  ],
852
692
  "flags": {
853
- "json": {
854
- "description": "Format output as json.",
855
- "helpGroup": "GLOBAL",
856
- "name": "json",
857
- "allowNo": false,
858
- "type": "boolean"
859
- },
860
693
  "profile": {
861
694
  "char": "p",
862
695
  "description": "Authentication profile name",
@@ -876,19 +709,18 @@
876
709
  },
877
710
  "hasDynamicHelp": false,
878
711
  "hiddenAliases": [],
879
- "id": "conni:content:get",
712
+ "id": "conni:content",
880
713
  "pluginAlias": "@hesed/conni",
881
714
  "pluginName": "@hesed/conni",
882
715
  "pluginType": "core",
883
716
  "strict": true,
884
- "enableJsonFlag": true,
885
717
  "isESM": true,
886
718
  "relativePath": [
887
719
  "dist",
888
720
  "commands",
889
721
  "conni",
890
722
  "content",
891
- "get.js"
723
+ "index.js"
892
724
  ]
893
725
  },
894
726
  "conni:content:search": {
@@ -906,13 +738,6 @@
906
738
  "<%= config.bin %> <%= command.id %> 'created > startOfMonth()' --limit=5 --expand=body,version"
907
739
  ],
908
740
  "flags": {
909
- "json": {
910
- "description": "Format output as json.",
911
- "helpGroup": "GLOBAL",
912
- "name": "json",
913
- "allowNo": false,
914
- "type": "boolean"
915
- },
916
741
  "expand": {
917
742
  "description": "Properties of the content to expand",
918
743
  "name": "expand",
@@ -953,7 +778,6 @@
953
778
  "pluginName": "@hesed/conni",
954
779
  "pluginType": "core",
955
780
  "strict": true,
956
- "enableJsonFlag": true,
957
781
  "isESM": true,
958
782
  "relativePath": [
959
783
  "dist",
@@ -980,13 +804,6 @@
980
804
  "<%= config.bin %> <%= command.id %> 1076199489 --fields body=@storage.xml representation=storage --full-width"
981
805
  ],
982
806
  "flags": {
983
- "json": {
984
- "description": "Format output as json.",
985
- "helpGroup": "GLOBAL",
986
- "name": "json",
987
- "allowNo": false,
988
- "type": "boolean"
989
- },
990
807
  "fields": {
991
808
  "description": "Content fields to update in key=value format. Use @file to read value from a file (e.g. body=@content.xml)",
992
809
  "name": "fields",
@@ -1026,7 +843,6 @@
1026
843
  "pluginName": "@hesed/conni",
1027
844
  "pluginType": "core",
1028
845
  "strict": true,
1029
- "enableJsonFlag": true,
1030
846
  "isESM": true,
1031
847
  "relativePath": [
1032
848
  "dist",
@@ -1035,7 +851,95 @@
1035
851
  "content",
1036
852
  "update.js"
1037
853
  ]
854
+ },
855
+ "conni:space": {
856
+ "aliases": [],
857
+ "args": {
858
+ "spaceKey": {
859
+ "description": "Space key",
860
+ "name": "spaceKey",
861
+ "required": true
862
+ }
863
+ },
864
+ "description": "Get details of a Confluence space",
865
+ "examples": [
866
+ "<%= config.bin %> <%= command.id %> DEV"
867
+ ],
868
+ "flags": {
869
+ "profile": {
870
+ "char": "p",
871
+ "description": "Authentication profile name",
872
+ "name": "profile",
873
+ "required": false,
874
+ "hasDynamicHelp": false,
875
+ "multiple": false,
876
+ "type": "option"
877
+ },
878
+ "toon": {
879
+ "description": "Format output as toon",
880
+ "name": "toon",
881
+ "required": false,
882
+ "allowNo": false,
883
+ "type": "boolean"
884
+ }
885
+ },
886
+ "hasDynamicHelp": false,
887
+ "hiddenAliases": [],
888
+ "id": "conni:space",
889
+ "pluginAlias": "@hesed/conni",
890
+ "pluginName": "@hesed/conni",
891
+ "pluginType": "core",
892
+ "strict": true,
893
+ "isESM": true,
894
+ "relativePath": [
895
+ "dist",
896
+ "commands",
897
+ "conni",
898
+ "space",
899
+ "index.js"
900
+ ]
901
+ },
902
+ "conni:space:list": {
903
+ "aliases": [],
904
+ "args": {},
905
+ "description": "List all Confluence spaces",
906
+ "examples": [
907
+ "<%= config.bin %> <%= command.id %>"
908
+ ],
909
+ "flags": {
910
+ "profile": {
911
+ "char": "p",
912
+ "description": "Authentication profile name",
913
+ "name": "profile",
914
+ "required": false,
915
+ "hasDynamicHelp": false,
916
+ "multiple": false,
917
+ "type": "option"
918
+ },
919
+ "toon": {
920
+ "description": "Format output as toon",
921
+ "name": "toon",
922
+ "required": false,
923
+ "allowNo": false,
924
+ "type": "boolean"
925
+ }
926
+ },
927
+ "hasDynamicHelp": false,
928
+ "hiddenAliases": [],
929
+ "id": "conni:space:list",
930
+ "pluginAlias": "@hesed/conni",
931
+ "pluginName": "@hesed/conni",
932
+ "pluginType": "core",
933
+ "strict": true,
934
+ "isESM": true,
935
+ "relativePath": [
936
+ "dist",
937
+ "commands",
938
+ "conni",
939
+ "space",
940
+ "list.js"
941
+ ]
1038
942
  }
1039
943
  },
1040
- "version": "0.9.2"
944
+ "version": "0.9.3"
1041
945
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hesed/conni",
3
3
  "description": "CLI for Confluence API interaction",
4
- "version": "0.9.2",
4
+ "version": "0.9.3",
5
5
  "author": "Hesed",
6
6
  "bin": {
7
7
  "conni": "./bin/run.js"
@@ -58,10 +58,15 @@
58
58
  "dirname": "conni",
59
59
  "commands": "./dist/commands",
60
60
  "topicSeparator": " ",
61
- "topics": {},
62
- "update": {
63
- "autoupdate": {
64
- "debounce": 7
61
+ "topics": {
62
+ "conni": {
63
+ "description": "Commands for managing Confluence workflows and operations"
64
+ },
65
+ "conni:content": {
66
+ "description": "Perform various operations on content"
67
+ },
68
+ "conni:space": {
69
+ "description": "Get space details or list spaces"
65
70
  }
66
71
  }
67
72
  },
File without changes