@libtmux/workspace-cli 0.1.0-alpha.11

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.
@@ -0,0 +1,1125 @@
1
+ {
2
+ "schema_version": 1,
3
+ "program": "tmux-workspace",
4
+ "commands": [
5
+ {
6
+ "path": [],
7
+ "description": "Manage tmux workspaces from YAML and JSON configuration.",
8
+ "arguments": [],
9
+ "options": [
10
+ {
11
+ "flags": "-V, --version",
12
+ "short": "-V",
13
+ "long": "--version",
14
+ "description": "output the version number",
15
+ "value": "none",
16
+ "variadic": false,
17
+ "choices": []
18
+ },
19
+ {
20
+ "flags": "--log-level <log_level>",
21
+ "long": "--log-level",
22
+ "description": "log level (debug, info, warning, error, critical) (default \"warning\")",
23
+ "value": "required",
24
+ "variadic": false,
25
+ "choices": ["debug", "info", "warning", "error", "critical"],
26
+ "default": "warning"
27
+ },
28
+ {
29
+ "flags": "--color <color>",
30
+ "long": "--color",
31
+ "description": "when to use colors: auto (default), always, or never",
32
+ "value": "required",
33
+ "variadic": false,
34
+ "choices": ["auto", "always", "never"],
35
+ "default": "auto"
36
+ },
37
+ {
38
+ "flags": "--json",
39
+ "long": "--json",
40
+ "description": "Write JSON; machine operations never prompt.",
41
+ "value": "none",
42
+ "variadic": false,
43
+ "choices": []
44
+ },
45
+ {
46
+ "flags": "--ndjson",
47
+ "long": "--ndjson",
48
+ "description": "Stream NDJSON; takes precedence over --json.",
49
+ "value": "none",
50
+ "variadic": false,
51
+ "choices": []
52
+ },
53
+ {
54
+ "flags": "-h, --help",
55
+ "short": "-h",
56
+ "long": "--help",
57
+ "description": "display help for command",
58
+ "value": "none",
59
+ "variadic": false,
60
+ "choices": []
61
+ }
62
+ ],
63
+ "subcommands": [
64
+ "load",
65
+ "shell",
66
+ "import",
67
+ "convert",
68
+ "debug-info",
69
+ "ls",
70
+ "search",
71
+ "edit",
72
+ "freeze",
73
+ "completion"
74
+ ]
75
+ },
76
+ {
77
+ "path": ["load"],
78
+ "description": "Load workspace files, attach to existing sessions, or append windows.",
79
+ "arguments": [
80
+ {
81
+ "name": "workspace_files",
82
+ "required": true,
83
+ "variadic": true,
84
+ "description": "filepath to session or filename of session in tmuxp workspace directory",
85
+ "choices": [],
86
+ "completion": "file"
87
+ }
88
+ ],
89
+ "options": [
90
+ {
91
+ "flags": "-L <socket_name>",
92
+ "short": "-L",
93
+ "description": "passthru to tmux(1) -L",
94
+ "value": "required",
95
+ "variadic": false,
96
+ "choices": []
97
+ },
98
+ {
99
+ "flags": "-S <socket_path>",
100
+ "short": "-S",
101
+ "description": "passthru to tmux(1) -S",
102
+ "value": "required",
103
+ "variadic": false,
104
+ "choices": [],
105
+ "completion": "file"
106
+ },
107
+ {
108
+ "flags": "-f <tmux_config_file>",
109
+ "short": "-f",
110
+ "description": "passthru to tmux(1) -f",
111
+ "value": "required",
112
+ "variadic": false,
113
+ "choices": [],
114
+ "completion": "file"
115
+ },
116
+ {
117
+ "flags": "-s <new_session_name>",
118
+ "short": "-s",
119
+ "description": "start new session with new session name",
120
+ "value": "required",
121
+ "variadic": false,
122
+ "choices": []
123
+ },
124
+ {
125
+ "flags": "-y, --yes",
126
+ "short": "-y",
127
+ "long": "--yes",
128
+ "description": "always answer yes",
129
+ "value": "none",
130
+ "variadic": false,
131
+ "choices": [],
132
+ "default": false
133
+ },
134
+ {
135
+ "flags": "-d",
136
+ "short": "-d",
137
+ "description": "load the session without attaching it",
138
+ "value": "none",
139
+ "variadic": false,
140
+ "choices": [],
141
+ "default": false
142
+ },
143
+ {
144
+ "flags": "-a, --append",
145
+ "short": "-a",
146
+ "long": "--append",
147
+ "description": "load workspace, appending windows to the current session",
148
+ "value": "none",
149
+ "variadic": false,
150
+ "choices": [],
151
+ "default": false
152
+ },
153
+ {
154
+ "flags": "-2",
155
+ "short": "-2",
156
+ "description": "force tmux to assume the terminal supports 256 colours.",
157
+ "value": "none",
158
+ "variadic": false,
159
+ "choices": []
160
+ },
161
+ {
162
+ "flags": "-8",
163
+ "short": "-8",
164
+ "description": "Reject unsupported legacy 88-color mode before loading.",
165
+ "value": "none",
166
+ "variadic": false,
167
+ "choices": []
168
+ },
169
+ {
170
+ "flags": "--log-file <log_file>",
171
+ "long": "--log-file",
172
+ "description": "file to log errors/output to",
173
+ "value": "required",
174
+ "variadic": false,
175
+ "choices": [],
176
+ "completion": "file"
177
+ },
178
+ {
179
+ "flags": "--progress-format <progress_format>",
180
+ "long": "--progress-format",
181
+ "description": "Progress line format: preset name (default, minimal, window, pane, verbose) or a format string with tokens {session}, {window}, {progress}, {window_progress}, {pane_progress}, etc. Env: TMUXP_PROGRESS_FORMAT",
182
+ "value": "required",
183
+ "variadic": false,
184
+ "choices": []
185
+ },
186
+ {
187
+ "flags": "--progress-lines <panel_lines>",
188
+ "long": "--progress-lines",
189
+ "description": "Recent script-output lines in the terminal panel (default: 3). 0 forwards each stream directly; -1 uses terminal height. Retention is bounded. Env: TMUXP_PROGRESS_LINES",
190
+ "value": "required",
191
+ "variadic": false,
192
+ "choices": []
193
+ },
194
+ {
195
+ "flags": "--no-progress",
196
+ "long": "--no-progress",
197
+ "description": "Disable terminal progress. Env: TMUXP_PROGRESS=0",
198
+ "value": "none",
199
+ "variadic": false,
200
+ "choices": [],
201
+ "default": false
202
+ },
203
+ {
204
+ "flags": "--json",
205
+ "long": "--json",
206
+ "description": "Write JSON; machine operations never prompt.",
207
+ "value": "none",
208
+ "variadic": false,
209
+ "choices": []
210
+ },
211
+ {
212
+ "flags": "--ndjson",
213
+ "long": "--ndjson",
214
+ "description": "Stream NDJSON; takes precedence over --json.",
215
+ "value": "none",
216
+ "variadic": false,
217
+ "choices": []
218
+ },
219
+ {
220
+ "flags": "--color <mode>",
221
+ "long": "--color",
222
+ "description": "Human color: auto, always, or never. Machine output disables color.",
223
+ "value": "required",
224
+ "variadic": false,
225
+ "choices": ["auto", "always", "never"]
226
+ },
227
+ {
228
+ "flags": "-h, --help",
229
+ "short": "-h",
230
+ "long": "--help",
231
+ "description": "display help for command",
232
+ "value": "none",
233
+ "variadic": false,
234
+ "choices": []
235
+ }
236
+ ],
237
+ "subcommands": []
238
+ },
239
+ {
240
+ "path": ["shell"],
241
+ "description": "Open the Python tmuxp shell with the selected tmux context.",
242
+ "arguments": [
243
+ {
244
+ "name": "session_name",
245
+ "required": false,
246
+ "variadic": false,
247
+ "description": "",
248
+ "choices": []
249
+ },
250
+ {
251
+ "name": "window_name",
252
+ "required": false,
253
+ "variadic": false,
254
+ "description": "",
255
+ "choices": []
256
+ }
257
+ ],
258
+ "options": [
259
+ {
260
+ "flags": "-S <socket_path>",
261
+ "short": "-S",
262
+ "description": "pass-through for tmux -S",
263
+ "value": "required",
264
+ "variadic": false,
265
+ "choices": [],
266
+ "completion": "file"
267
+ },
268
+ {
269
+ "flags": "-L <socket_name>",
270
+ "short": "-L",
271
+ "description": "pass-through for tmux -L",
272
+ "value": "required",
273
+ "variadic": false,
274
+ "choices": []
275
+ },
276
+ {
277
+ "flags": "-c <command>",
278
+ "short": "-c",
279
+ "description": "instead of opening shell, execute python code in libtmux and exit",
280
+ "value": "required",
281
+ "variadic": false,
282
+ "choices": []
283
+ },
284
+ {
285
+ "flags": "--best",
286
+ "long": "--best",
287
+ "description": "use best shell available in site packages",
288
+ "value": "none",
289
+ "variadic": false,
290
+ "choices": [],
291
+ "default": "best"
292
+ },
293
+ {
294
+ "flags": "--pdb",
295
+ "long": "--pdb",
296
+ "description": "use plain pdb",
297
+ "value": "none",
298
+ "variadic": false,
299
+ "choices": []
300
+ },
301
+ {
302
+ "flags": "--code",
303
+ "long": "--code",
304
+ "description": "use stdlib's code.interact()",
305
+ "value": "none",
306
+ "variadic": false,
307
+ "choices": []
308
+ },
309
+ {
310
+ "flags": "--ptipython",
311
+ "long": "--ptipython",
312
+ "description": "use ptpython + ipython",
313
+ "value": "none",
314
+ "variadic": false,
315
+ "choices": []
316
+ },
317
+ {
318
+ "flags": "--ptpython",
319
+ "long": "--ptpython",
320
+ "description": "use ptpython",
321
+ "value": "none",
322
+ "variadic": false,
323
+ "choices": []
324
+ },
325
+ {
326
+ "flags": "--ipython",
327
+ "long": "--ipython",
328
+ "description": "use ipython",
329
+ "value": "none",
330
+ "variadic": false,
331
+ "choices": []
332
+ },
333
+ {
334
+ "flags": "--bpython",
335
+ "long": "--bpython",
336
+ "description": "use bpython",
337
+ "value": "none",
338
+ "variadic": false,
339
+ "choices": []
340
+ },
341
+ {
342
+ "flags": "--use-pythonrc",
343
+ "long": "--use-pythonrc",
344
+ "description": "load PYTHONSTARTUP env var and ~/.pythonrc.py script in --code",
345
+ "value": "none",
346
+ "variadic": false,
347
+ "choices": [],
348
+ "default": false
349
+ },
350
+ {
351
+ "flags": "--no-startup",
352
+ "long": "--no-startup",
353
+ "description": "Do not load Python startup files.",
354
+ "value": "none",
355
+ "variadic": false,
356
+ "choices": [],
357
+ "default": false
358
+ },
359
+ {
360
+ "flags": "--use-vi-mode",
361
+ "long": "--use-vi-mode",
362
+ "description": "use vi-mode in ptpython/ptipython",
363
+ "value": "none",
364
+ "variadic": false,
365
+ "choices": [],
366
+ "default": false
367
+ },
368
+ {
369
+ "flags": "--no-vi-mode",
370
+ "long": "--no-vi-mode",
371
+ "description": "Disable vi editing mode.",
372
+ "value": "none",
373
+ "variadic": false,
374
+ "choices": [],
375
+ "default": false
376
+ },
377
+ {
378
+ "flags": "--json",
379
+ "long": "--json",
380
+ "description": "Write JSON; machine operations never prompt.",
381
+ "value": "none",
382
+ "variadic": false,
383
+ "choices": []
384
+ },
385
+ {
386
+ "flags": "--ndjson",
387
+ "long": "--ndjson",
388
+ "description": "Stream NDJSON; takes precedence over --json.",
389
+ "value": "none",
390
+ "variadic": false,
391
+ "choices": []
392
+ },
393
+ {
394
+ "flags": "--color <mode>",
395
+ "long": "--color",
396
+ "description": "Human color: auto, always, or never. Machine output disables color.",
397
+ "value": "required",
398
+ "variadic": false,
399
+ "choices": ["auto", "always", "never"]
400
+ },
401
+ {
402
+ "flags": "-h, --help",
403
+ "short": "-h",
404
+ "long": "--help",
405
+ "description": "display help for command",
406
+ "value": "none",
407
+ "variadic": false,
408
+ "choices": []
409
+ }
410
+ ],
411
+ "subcommands": []
412
+ },
413
+ {
414
+ "path": ["import"],
415
+ "description": "Import a teamocil or tmuxinator workspace.",
416
+ "arguments": [],
417
+ "options": [
418
+ {
419
+ "flags": "--json",
420
+ "long": "--json",
421
+ "description": "Write JSON; machine operations never prompt.",
422
+ "value": "none",
423
+ "variadic": false,
424
+ "choices": []
425
+ },
426
+ {
427
+ "flags": "--ndjson",
428
+ "long": "--ndjson",
429
+ "description": "Stream NDJSON; takes precedence over --json.",
430
+ "value": "none",
431
+ "variadic": false,
432
+ "choices": []
433
+ },
434
+ {
435
+ "flags": "--color <mode>",
436
+ "long": "--color",
437
+ "description": "Human color: auto, always, or never. Machine output disables color.",
438
+ "value": "required",
439
+ "variadic": false,
440
+ "choices": ["auto", "always", "never"]
441
+ },
442
+ {
443
+ "flags": "-h, --help",
444
+ "short": "-h",
445
+ "long": "--help",
446
+ "description": "display help for command",
447
+ "value": "none",
448
+ "variadic": false,
449
+ "choices": []
450
+ }
451
+ ],
452
+ "subcommands": ["teamocil", "tmuxinator"]
453
+ },
454
+ {
455
+ "path": ["import", "teamocil"],
456
+ "description": "Convert a teamocil workspace to tmuxp configuration.",
457
+ "arguments": [
458
+ {
459
+ "name": "workspace_file",
460
+ "required": true,
461
+ "variadic": false,
462
+ "description": "checks current ~/.teamocil and current directory for yaml files",
463
+ "choices": [],
464
+ "completion": "file"
465
+ }
466
+ ],
467
+ "options": [
468
+ {
469
+ "flags": "--json",
470
+ "long": "--json",
471
+ "description": "Write JSON; machine operations never prompt.",
472
+ "value": "none",
473
+ "variadic": false,
474
+ "choices": []
475
+ },
476
+ {
477
+ "flags": "--ndjson",
478
+ "long": "--ndjson",
479
+ "description": "Stream NDJSON; takes precedence over --json.",
480
+ "value": "none",
481
+ "variadic": false,
482
+ "choices": []
483
+ },
484
+ {
485
+ "flags": "--color <mode>",
486
+ "long": "--color",
487
+ "description": "Human color: auto, always, or never. Machine output disables color.",
488
+ "value": "required",
489
+ "variadic": false,
490
+ "choices": ["auto", "always", "never"]
491
+ },
492
+ {
493
+ "flags": "--save-to <path>",
494
+ "long": "--save-to",
495
+ "description": "Write to this destination instead of machine stdout.",
496
+ "value": "required",
497
+ "variadic": false,
498
+ "choices": [],
499
+ "completion": "file"
500
+ },
501
+ {
502
+ "flags": "--workspace-format <format>",
503
+ "long": "--workspace-format",
504
+ "description": "Document format: yaml or json.",
505
+ "value": "required",
506
+ "variadic": false,
507
+ "choices": ["yaml", "json"]
508
+ },
509
+ {
510
+ "flags": "--force",
511
+ "long": "--force",
512
+ "description": "Allow replacing an existing destination.",
513
+ "value": "none",
514
+ "variadic": false,
515
+ "choices": []
516
+ },
517
+ {
518
+ "flags": "-h, --help",
519
+ "short": "-h",
520
+ "long": "--help",
521
+ "description": "display help for command",
522
+ "value": "none",
523
+ "variadic": false,
524
+ "choices": []
525
+ }
526
+ ],
527
+ "subcommands": []
528
+ },
529
+ {
530
+ "path": ["import", "tmuxinator"],
531
+ "description": "Convert a tmuxinator workspace to tmuxp configuration.",
532
+ "arguments": [
533
+ {
534
+ "name": "workspace_file",
535
+ "required": true,
536
+ "variadic": false,
537
+ "description": "checks current ~/.tmuxinator and current directory for yaml files",
538
+ "choices": [],
539
+ "completion": "file"
540
+ }
541
+ ],
542
+ "options": [
543
+ {
544
+ "flags": "--json",
545
+ "long": "--json",
546
+ "description": "Write JSON; machine operations never prompt.",
547
+ "value": "none",
548
+ "variadic": false,
549
+ "choices": []
550
+ },
551
+ {
552
+ "flags": "--ndjson",
553
+ "long": "--ndjson",
554
+ "description": "Stream NDJSON; takes precedence over --json.",
555
+ "value": "none",
556
+ "variadic": false,
557
+ "choices": []
558
+ },
559
+ {
560
+ "flags": "--color <mode>",
561
+ "long": "--color",
562
+ "description": "Human color: auto, always, or never. Machine output disables color.",
563
+ "value": "required",
564
+ "variadic": false,
565
+ "choices": ["auto", "always", "never"]
566
+ },
567
+ {
568
+ "flags": "--save-to <path>",
569
+ "long": "--save-to",
570
+ "description": "Write to this destination instead of machine stdout.",
571
+ "value": "required",
572
+ "variadic": false,
573
+ "choices": [],
574
+ "completion": "file"
575
+ },
576
+ {
577
+ "flags": "--workspace-format <format>",
578
+ "long": "--workspace-format",
579
+ "description": "Document format: yaml or json.",
580
+ "value": "required",
581
+ "variadic": false,
582
+ "choices": ["yaml", "json"]
583
+ },
584
+ {
585
+ "flags": "--force",
586
+ "long": "--force",
587
+ "description": "Allow replacing an existing destination.",
588
+ "value": "none",
589
+ "variadic": false,
590
+ "choices": []
591
+ },
592
+ {
593
+ "flags": "-h, --help",
594
+ "short": "-h",
595
+ "long": "--help",
596
+ "description": "display help for command",
597
+ "value": "none",
598
+ "variadic": false,
599
+ "choices": []
600
+ }
601
+ ],
602
+ "subcommands": []
603
+ },
604
+ {
605
+ "path": ["convert"],
606
+ "description": "Convert a workspace between YAML and JSON.",
607
+ "arguments": [
608
+ {
609
+ "name": "workspace_file",
610
+ "required": true,
611
+ "variadic": false,
612
+ "description": "checks tmuxp and current directory for workspace files.",
613
+ "choices": [],
614
+ "completion": "file"
615
+ }
616
+ ],
617
+ "options": [
618
+ {
619
+ "flags": "-y, --yes",
620
+ "short": "-y",
621
+ "long": "--yes",
622
+ "description": "always answer yes",
623
+ "value": "none",
624
+ "variadic": false,
625
+ "choices": [],
626
+ "default": false
627
+ },
628
+ {
629
+ "flags": "--json",
630
+ "long": "--json",
631
+ "description": "Write JSON; machine operations never prompt.",
632
+ "value": "none",
633
+ "variadic": false,
634
+ "choices": []
635
+ },
636
+ {
637
+ "flags": "--ndjson",
638
+ "long": "--ndjson",
639
+ "description": "Stream NDJSON; takes precedence over --json.",
640
+ "value": "none",
641
+ "variadic": false,
642
+ "choices": []
643
+ },
644
+ {
645
+ "flags": "--color <mode>",
646
+ "long": "--color",
647
+ "description": "Human color: auto, always, or never. Machine output disables color.",
648
+ "value": "required",
649
+ "variadic": false,
650
+ "choices": ["auto", "always", "never"]
651
+ },
652
+ {
653
+ "flags": "--save-to <path>",
654
+ "long": "--save-to",
655
+ "description": "Write to this destination instead of machine stdout.",
656
+ "value": "required",
657
+ "variadic": false,
658
+ "choices": [],
659
+ "completion": "file"
660
+ },
661
+ {
662
+ "flags": "--workspace-format <format>",
663
+ "long": "--workspace-format",
664
+ "description": "Document format: yaml or json.",
665
+ "value": "required",
666
+ "variadic": false,
667
+ "choices": ["yaml", "json"]
668
+ },
669
+ {
670
+ "flags": "--force",
671
+ "long": "--force",
672
+ "description": "Allow replacing an existing destination.",
673
+ "value": "none",
674
+ "variadic": false,
675
+ "choices": []
676
+ },
677
+ {
678
+ "flags": "-h, --help",
679
+ "short": "-h",
680
+ "long": "--help",
681
+ "description": "display help for command",
682
+ "value": "none",
683
+ "variadic": false,
684
+ "choices": []
685
+ }
686
+ ],
687
+ "subcommands": []
688
+ },
689
+ {
690
+ "path": ["debug-info"],
691
+ "description": "Show runtime, configuration, and tmux diagnostics.",
692
+ "arguments": [],
693
+ "options": [
694
+ {
695
+ "flags": "--json",
696
+ "long": "--json",
697
+ "description": "output as JSON",
698
+ "value": "none",
699
+ "variadic": false,
700
+ "choices": [],
701
+ "default": false
702
+ },
703
+ {
704
+ "flags": "--ndjson",
705
+ "long": "--ndjson",
706
+ "description": "Stream NDJSON; takes precedence over --json.",
707
+ "value": "none",
708
+ "variadic": false,
709
+ "choices": []
710
+ },
711
+ {
712
+ "flags": "--color <mode>",
713
+ "long": "--color",
714
+ "description": "Human color: auto, always, or never. Machine output disables color.",
715
+ "value": "required",
716
+ "variadic": false,
717
+ "choices": ["auto", "always", "never"]
718
+ },
719
+ {
720
+ "flags": "-h, --help",
721
+ "short": "-h",
722
+ "long": "--help",
723
+ "description": "display help for command",
724
+ "value": "none",
725
+ "variadic": false,
726
+ "choices": []
727
+ }
728
+ ],
729
+ "subcommands": []
730
+ },
731
+ {
732
+ "path": ["ls"],
733
+ "description": "List project and saved workspace files.",
734
+ "arguments": [],
735
+ "options": [
736
+ {
737
+ "flags": "--tree",
738
+ "long": "--tree",
739
+ "description": "display workspaces grouped by directory",
740
+ "value": "none",
741
+ "variadic": false,
742
+ "choices": [],
743
+ "default": false
744
+ },
745
+ {
746
+ "flags": "--json",
747
+ "long": "--json",
748
+ "description": "output as JSON",
749
+ "value": "none",
750
+ "variadic": false,
751
+ "choices": [],
752
+ "default": false
753
+ },
754
+ {
755
+ "flags": "--ndjson",
756
+ "long": "--ndjson",
757
+ "description": "output as NDJSON (one JSON per line)",
758
+ "value": "none",
759
+ "variadic": false,
760
+ "choices": [],
761
+ "default": false
762
+ },
763
+ {
764
+ "flags": "--full",
765
+ "long": "--full",
766
+ "description": "include full config content in output",
767
+ "value": "none",
768
+ "variadic": false,
769
+ "choices": [],
770
+ "default": false
771
+ },
772
+ {
773
+ "flags": "--color <mode>",
774
+ "long": "--color",
775
+ "description": "Human color: auto, always, or never. Machine output disables color.",
776
+ "value": "required",
777
+ "variadic": false,
778
+ "choices": ["auto", "always", "never"]
779
+ },
780
+ {
781
+ "flags": "-h, --help",
782
+ "short": "-h",
783
+ "long": "--help",
784
+ "description": "display help for command",
785
+ "value": "none",
786
+ "variadic": false,
787
+ "choices": []
788
+ }
789
+ ],
790
+ "subcommands": []
791
+ },
792
+ {
793
+ "path": ["search"],
794
+ "description": "Search workspace names, sessions, windows, and pane commands.",
795
+ "arguments": [
796
+ {
797
+ "name": "query_terms",
798
+ "required": false,
799
+ "variadic": true,
800
+ "description": "search patterns (prefix with field: for field-scoped search)",
801
+ "choices": []
802
+ }
803
+ ],
804
+ "options": [
805
+ {
806
+ "flags": "-f, --field <field>",
807
+ "short": "-f",
808
+ "long": "--field",
809
+ "description": "restrict search to field(s): name, session/s, path/p, window/w, pane",
810
+ "value": "required",
811
+ "variadic": false,
812
+ "choices": []
813
+ },
814
+ {
815
+ "flags": "-i, --ignore-case",
816
+ "short": "-i",
817
+ "long": "--ignore-case",
818
+ "description": "case-insensitive matching",
819
+ "value": "none",
820
+ "variadic": false,
821
+ "choices": [],
822
+ "default": false
823
+ },
824
+ {
825
+ "flags": "-S, --smart-case",
826
+ "short": "-S",
827
+ "long": "--smart-case",
828
+ "description": "case-insensitive unless pattern has uppercase",
829
+ "value": "none",
830
+ "variadic": false,
831
+ "choices": [],
832
+ "default": false
833
+ },
834
+ {
835
+ "flags": "-F, --fixed-strings",
836
+ "short": "-F",
837
+ "long": "--fixed-strings",
838
+ "description": "treat patterns as literal strings, not regex",
839
+ "value": "none",
840
+ "variadic": false,
841
+ "choices": [],
842
+ "default": false
843
+ },
844
+ {
845
+ "flags": "-w, --word-regexp",
846
+ "short": "-w",
847
+ "long": "--word-regexp",
848
+ "description": "match whole words only",
849
+ "value": "none",
850
+ "variadic": false,
851
+ "choices": [],
852
+ "default": false
853
+ },
854
+ {
855
+ "flags": "-v, --invert-match",
856
+ "short": "-v",
857
+ "long": "--invert-match",
858
+ "description": "show workspaces that do NOT match",
859
+ "value": "none",
860
+ "variadic": false,
861
+ "choices": [],
862
+ "default": false
863
+ },
864
+ {
865
+ "flags": "--any",
866
+ "long": "--any",
867
+ "description": "match ANY pattern (OR logic); default is ALL (AND logic)",
868
+ "value": "none",
869
+ "variadic": false,
870
+ "choices": [],
871
+ "default": false
872
+ },
873
+ {
874
+ "flags": "--json",
875
+ "long": "--json",
876
+ "description": "output as JSON",
877
+ "value": "none",
878
+ "variadic": false,
879
+ "choices": [],
880
+ "default": false
881
+ },
882
+ {
883
+ "flags": "--ndjson",
884
+ "long": "--ndjson",
885
+ "description": "output as NDJSON (one JSON per line)",
886
+ "value": "none",
887
+ "variadic": false,
888
+ "choices": [],
889
+ "default": false
890
+ },
891
+ {
892
+ "flags": "--color <mode>",
893
+ "long": "--color",
894
+ "description": "Human color: auto, always, or never. Machine output disables color.",
895
+ "value": "required",
896
+ "variadic": false,
897
+ "choices": ["auto", "always", "never"]
898
+ },
899
+ {
900
+ "flags": "-h, --help",
901
+ "short": "-h",
902
+ "long": "--help",
903
+ "description": "display help for command",
904
+ "value": "none",
905
+ "variadic": false,
906
+ "choices": []
907
+ }
908
+ ],
909
+ "subcommands": []
910
+ },
911
+ {
912
+ "path": ["edit"],
913
+ "description": "Open a discovered workspace in your editor.",
914
+ "arguments": [
915
+ {
916
+ "name": "workspace_file",
917
+ "required": true,
918
+ "variadic": false,
919
+ "description": "checks current tmuxp and current directory for workspace files.",
920
+ "choices": [],
921
+ "completion": "file"
922
+ }
923
+ ],
924
+ "options": [
925
+ {
926
+ "flags": "--json",
927
+ "long": "--json",
928
+ "description": "Write JSON; machine operations never prompt.",
929
+ "value": "none",
930
+ "variadic": false,
931
+ "choices": []
932
+ },
933
+ {
934
+ "flags": "--ndjson",
935
+ "long": "--ndjson",
936
+ "description": "Stream NDJSON; takes precedence over --json.",
937
+ "value": "none",
938
+ "variadic": false,
939
+ "choices": []
940
+ },
941
+ {
942
+ "flags": "--color <mode>",
943
+ "long": "--color",
944
+ "description": "Human color: auto, always, or never. Machine output disables color.",
945
+ "value": "required",
946
+ "variadic": false,
947
+ "choices": ["auto", "always", "never"]
948
+ },
949
+ {
950
+ "flags": "-h, --help",
951
+ "short": "-h",
952
+ "long": "--help",
953
+ "description": "display help for command",
954
+ "value": "none",
955
+ "variadic": false,
956
+ "choices": []
957
+ }
958
+ ],
959
+ "subcommands": []
960
+ },
961
+ {
962
+ "path": ["freeze"],
963
+ "description": "Capture a live tmux session as a workspace document.",
964
+ "arguments": [
965
+ {
966
+ "name": "session_name",
967
+ "required": false,
968
+ "variadic": false,
969
+ "description": "",
970
+ "choices": []
971
+ }
972
+ ],
973
+ "options": [
974
+ {
975
+ "flags": "-S <socket_path>",
976
+ "short": "-S",
977
+ "description": "pass-through for tmux -S",
978
+ "value": "required",
979
+ "variadic": false,
980
+ "choices": [],
981
+ "completion": "file"
982
+ },
983
+ {
984
+ "flags": "-L <socket_name>",
985
+ "short": "-L",
986
+ "description": "pass-through for tmux -L",
987
+ "value": "required",
988
+ "variadic": false,
989
+ "choices": []
990
+ },
991
+ {
992
+ "flags": "-f, --workspace-format <workspace_format>",
993
+ "short": "-f",
994
+ "long": "--workspace-format",
995
+ "description": "format to save in",
996
+ "value": "required",
997
+ "variadic": false,
998
+ "choices": ["yaml", "json"]
999
+ },
1000
+ {
1001
+ "flags": "-o, --save-to <save_to>",
1002
+ "short": "-o",
1003
+ "long": "--save-to",
1004
+ "description": "file to save to",
1005
+ "value": "required",
1006
+ "variadic": false,
1007
+ "choices": [],
1008
+ "completion": "file"
1009
+ },
1010
+ {
1011
+ "flags": "-y, --yes",
1012
+ "short": "-y",
1013
+ "long": "--yes",
1014
+ "description": "always answer yes",
1015
+ "value": "none",
1016
+ "variadic": false,
1017
+ "choices": [],
1018
+ "default": false
1019
+ },
1020
+ {
1021
+ "flags": "-q, --quiet",
1022
+ "short": "-q",
1023
+ "long": "--quiet",
1024
+ "description": "Suppress human status messages.",
1025
+ "value": "none",
1026
+ "variadic": false,
1027
+ "choices": [],
1028
+ "default": false
1029
+ },
1030
+ {
1031
+ "flags": "--force",
1032
+ "long": "--force",
1033
+ "description": "overwrite the workspace file",
1034
+ "value": "none",
1035
+ "variadic": false,
1036
+ "choices": [],
1037
+ "default": false
1038
+ },
1039
+ {
1040
+ "flags": "--json",
1041
+ "long": "--json",
1042
+ "description": "Write JSON; machine operations never prompt.",
1043
+ "value": "none",
1044
+ "variadic": false,
1045
+ "choices": []
1046
+ },
1047
+ {
1048
+ "flags": "--ndjson",
1049
+ "long": "--ndjson",
1050
+ "description": "Stream NDJSON; takes precedence over --json.",
1051
+ "value": "none",
1052
+ "variadic": false,
1053
+ "choices": []
1054
+ },
1055
+ {
1056
+ "flags": "--color <mode>",
1057
+ "long": "--color",
1058
+ "description": "Human color: auto, always, or never. Machine output disables color.",
1059
+ "value": "required",
1060
+ "variadic": false,
1061
+ "choices": ["auto", "always", "never"]
1062
+ },
1063
+ {
1064
+ "flags": "-h, --help",
1065
+ "short": "-h",
1066
+ "long": "--help",
1067
+ "description": "display help for command",
1068
+ "value": "none",
1069
+ "variadic": false,
1070
+ "choices": []
1071
+ }
1072
+ ],
1073
+ "subcommands": []
1074
+ },
1075
+ {
1076
+ "path": ["completion"],
1077
+ "description": "Print a shell completion script.",
1078
+ "arguments": [
1079
+ {
1080
+ "name": "shell",
1081
+ "required": true,
1082
+ "variadic": false,
1083
+ "description": "Shell to complete in.",
1084
+ "choices": ["bash", "zsh", "fish"]
1085
+ }
1086
+ ],
1087
+ "options": [
1088
+ {
1089
+ "flags": "--json",
1090
+ "long": "--json",
1091
+ "description": "Write JSON; machine operations never prompt.",
1092
+ "value": "none",
1093
+ "variadic": false,
1094
+ "choices": []
1095
+ },
1096
+ {
1097
+ "flags": "--ndjson",
1098
+ "long": "--ndjson",
1099
+ "description": "Stream NDJSON; takes precedence over --json.",
1100
+ "value": "none",
1101
+ "variadic": false,
1102
+ "choices": []
1103
+ },
1104
+ {
1105
+ "flags": "--color <mode>",
1106
+ "long": "--color",
1107
+ "description": "Human color: auto, always, or never. Machine output disables color.",
1108
+ "value": "required",
1109
+ "variadic": false,
1110
+ "choices": ["auto", "always", "never"]
1111
+ },
1112
+ {
1113
+ "flags": "-h, --help",
1114
+ "short": "-h",
1115
+ "long": "--help",
1116
+ "description": "display help for command",
1117
+ "value": "none",
1118
+ "variadic": false,
1119
+ "choices": []
1120
+ }
1121
+ ],
1122
+ "subcommands": []
1123
+ }
1124
+ ]
1125
+ }