Debian Codegraph @

helpers/test/fixtures/fig-cli/expected.json

raw symbols SCIP
1 {
2 "spec": {
3 "name": "fig",
4 "description": "The CLI for Fig",
5 "subcommands": [
6 {
7 "name": "debug",
8 "description": "Debug Fig",
9 "subcommands": [
10 {
11 "name": "app",
12 "description": "Debug fig app",
13 "options": [
14 {
15 "name": "--version",
16 "description": "Print version information"
17 },
18 {
19 "name": ["-h", "--help"],
20 "description": "Print help information"
21 }
22 ]
23 },
24 {
25 "name": "build",
26 "description": "Switch build",
27 "options": [
28 {
29 "name": "--version",
30 "description": "Print version information"
31 },
32 {
33 "name": ["-h", "--help"],
34 "description": "Print help information"
35 }
36 ],
37 "args": {
38 "name": "build",
39 "suggestions": ["dev", "prod", "staging"]
40 }
41 },
42 {
43 "name": "autocomplete-window",
44 "description": "Toggle/set autocomplete window debug mode",
45 "options": [
46 {
47 "name": "--version",
48 "description": "Print version information"
49 },
50 {
51 "name": ["-h", "--help"],
52 "description": "Print help information"
53 }
54 ],
55 "args": {
56 "name": "mode",
57 "isOptional": true,
58 "suggestions": ["on", "off"]
59 }
60 },
61 {
62 "name": "logs",
63 "description": "Show fig debug logs",
64 "options": [
65 {
66 "name": "--version",
67 "description": "Print version information"
68 },
69 {
70 "name": ["-h", "--help"],
71 "description": "Print help information"
72 }
73 ],
74 "args": { "name": "files", "isOptional": true }
75 },
76 {
77 "name": "ime",
78 "description": "Fig input method editor",
79 "options": [
80 {
81 "name": "--version",
82 "description": "Print version information"
83 },
84 {
85 "name": ["-h", "--help"],
86 "description": "Print help information"
87 }
88 ],
89 "args": {
90 "name": "command",
91 "suggestions": [
92 "install",
93 "uninstall",
94 "select",
95 "deselect",
96 "enable",
97 "disable",
98 "status",
99 "register"
100 ]
101 }
102 },
103 {
104 "name": "prompt-accessibility",
105 "description": "Prompt accessibility",
106 "options": [
107 {
108 "name": "--version",
109 "description": "Print version information"
110 },
111 {
112 "name": ["-h", "--help"],
113 "description": "Print help information"
114 }
115 ]
116 },
117 {
118 "name": "sample",
119 "description": "Sample fig process",
120 "options": [
121 {
122 "name": "--version",
123 "description": "Print version information"
124 },
125 {
126 "name": ["-h", "--help"],
127 "description": "Print help information"
128 }
129 ]
130 },
131 {
132 "name": "unix-socket",
133 "description": "Debug fig unix sockets",
134 "options": [
135 {
136 "name": "--version",
137 "description": "Print version information"
138 },
139 {
140 "name": ["-h", "--help"],
141 "description": "Print help information"
142 }
143 ]
144 },
145 {
146 "name": "verify-codesign",
147 "description": "Debug fig codesign verification",
148 "options": [
149 {
150 "name": "--version",
151 "description": "Print version information"
152 },
153 {
154 "name": ["-h", "--help"],
155 "description": "Print help information"
156 }
157 ]
158 },
159 {
160 "name": "accessibility",
161 "options": [
162 {
163 "name": "--version",
164 "description": "Print version information"
165 },
166 {
167 "name": ["-h", "--help"],
168 "description": "Print help information"
169 }
170 ],
171 "args": {
172 "name": "action",
173 "isOptional": true,
174 "suggestions": ["refresh", "reset", "prompt", "open", "status"]
175 }
176 },
177 {
178 "name": "help",
179 "description": "Print this message or the help of the given subcommand(s)",
180 "options": [
181 {
182 "name": "--version",
183 "description": "Print version information"
184 },
185 {
186 "name": ["-h", "--help"],
187 "description": "Print help information"
188 }
189 ],
190 "args": { "name": "subcommand", "isOptional": true }
191 }
192 ],
193 "options": [
194 { "name": ["-h", "--help"], "description": "Print help information" }
195 ]
196 },
197 {
198 "name": "settings",
199 "description": "Customize appearance & behavior",
200 "subcommands": [
201 {
202 "name": "all",
203 "description": "List all the settings",
204 "options": [
205 {
206 "name": ["-f", "--format"],
207 "description": "Format of the output",
208 "args": {
209 "name": "format",
210 "isOptional": true,
211 "suggestions": [
212 {
213 "name": "plain",
214 "description": "Outputs the results as markdown"
215 },
216 {
217 "name": "json",
218 "description": "Outputs the results as JSON"
219 },
220 {
221 "name": "json-pretty",
222 "description": "Outputs the results as pretty print JSON"
223 }
224 ]
225 }
226 },
227 {
228 "name": "--version",
229 "description": "Print version information"
230 },
231 {
232 "name": ["-r", "--remote"],
233 "description": "List the remote settings"
234 },
235 {
236 "name": ["-h", "--help"],
237 "description": "Print help information"
238 }
239 ]
240 },
241 {
242 "name": "init",
243 "description": "Reload the settings listener",
244 "options": [
245 {
246 "name": "--version",
247 "description": "Print version information"
248 },
249 {
250 "name": ["-h", "--help"],
251 "description": "Print help information"
252 }
253 ]
254 },
255 {
256 "name": "docs",
257 "description": "Get the settings documentation",
258 "options": [
259 {
260 "name": "--version",
261 "description": "Print version information"
262 },
263 {
264 "name": ["-h", "--help"],
265 "description": "Print help information"
266 }
267 ]
268 },
269 {
270 "name": "open",
271 "description": "Open the settings file",
272 "options": [
273 {
274 "name": "--version",
275 "description": "Print version information"
276 },
277 {
278 "name": ["-h", "--help"],
279 "description": "Print help information"
280 }
281 ]
282 },
283 {
284 "name": "sync",
285 "description": "Sync the current settings",
286 "options": [
287 {
288 "name": "--version",
289 "description": "Print version information"
290 },
291 {
292 "name": ["-h", "--help"],
293 "description": "Print help information"
294 }
295 ]
296 },
297 {
298 "name": "help",
299 "description": "Print this message or the help of the given subcommand(s)",
300 "options": [
301 {
302 "name": "--version",
303 "description": "Print version information"
304 },
305 {
306 "name": ["-h", "--help"],
307 "description": "Print help information"
308 }
309 ],
310 "args": { "name": "subcommand", "isOptional": true }
311 }
312 ],
313 "options": [
314 {
315 "name": ["-f", "--format"],
316 "description": "Format of the output",
317 "args": {
318 "name": "format",
319 "isOptional": true,
320 "suggestions": [
321 {
322 "name": "plain",
323 "description": "Outputs the results as markdown"
324 },
325 {
326 "name": "json",
327 "description": "Outputs the results as JSON"
328 },
329 {
330 "name": "json-pretty",
331 "description": "Outputs the results as pretty print JSON"
332 }
333 ]
334 }
335 },
336 { "name": ["-d", "--delete"], "description": "Delete a value" },
337 { "name": ["-h", "--help"], "description": "Print help information" }
338 ],
339 "args": [
340 { "name": "key", "isOptional": true },
341 { "name": "value", "isOptional": true }
342 ]
343 },
344 {
345 "name": "install",
346 "description": "Install fig cli components",
347 "options": [
348 {
349 "name": "--daemon",
350 "description": "Install only the daemon",
351 "exclusiveOn": ["--input-method"]
352 },
353 {
354 "name": "--dotfiles",
355 "description": "Install only the shell integrations",
356 "exclusiveOn": ["--input-method"]
357 },
358 {
359 "name": "--input-method",
360 "description": "Prompt input method installation",
361 "exclusiveOn": ["--daemon", "--dotfiles"]
362 },
363 {
364 "name": "--ssh",
365 "description": "Install only the ssh integration"
366 },
367 {
368 "name": "--no-confirm",
369 "description": "Don't confirm automatic installation"
370 },
371 { "name": "--force", "description": "Force installation of fig" },
372 { "name": ["-h", "--help"], "description": "Print help information" }
373 ]
374 },
375 {
376 "name": "ssh",
377 "description": "Enable/disable fig SSH integration",
378 "subcommands": [
379 {
380 "name": "enable",
381 "description": "Enable ssh integration",
382 "options": [
383 {
384 "name": "--version",
385 "description": "Print version information"
386 },
387 {
388 "name": ["-h", "--help"],
389 "description": "Print help information"
390 }
391 ]
392 },
393 {
394 "name": "disable",
395 "description": "Disable ssh integration",
396 "options": [
397 {
398 "name": "--version",
399 "description": "Print version information"
400 },
401 {
402 "name": ["-h", "--help"],
403 "description": "Print help information"
404 }
405 ]
406 },
407 {
408 "name": "help",
409 "description": "Print this message or the help of the given subcommand(s)",
410 "options": [
411 {
412 "name": "--version",
413 "description": "Print version information"
414 },
415 {
416 "name": ["-h", "--help"],
417 "description": "Print help information"
418 }
419 ],
420 "args": { "name": "subcommand", "isOptional": true }
421 }
422 ],
423 "options": [
424 { "name": ["-h", "--help"], "description": "Print help information" }
425 ]
426 },
427 {
428 "name": "diagnostic",
429 "description": "Run diagnostic tests",
430 "options": [
431 {
432 "name": ["-f", "--format"],
433 "description": "The format of the output",
434 "args": [
435 {
436 "name": "format",
437 "isOptional": true,
438 "suggestions": [
439 {
440 "name": "plain",
441 "description": "Outputs the results as markdown"
442 },
443 {
444 "name": "json",
445 "description": "Outputs the results as JSON"
446 },
447 {
448 "name": "json-pretty",
449 "description": "Outputs the results as pretty print JSON"
450 }
451 ]
452 }
453 ]
454 },
455 {
456 "name": "--force",
457 "description": "Force limited diagnostic output"
458 },
459 { "name": ["-h", "--help"], "description": "Print help information" }
460 ]
461 },
462 {
463 "name": "init",
464 "description": "Generate the dotfiles for the given shell",
465 "options": [
466 {
467 "name": "--rcfile",
468 "args": { "name": "rcfile", "isOptional": true }
469 },
470 { "name": ["-h", "--help"], "description": "Print help information" }
471 ],
472 "args": [
473 {
474 "name": "shell",
475 "suggestions": [
476 { "name": "bash", "description": "Bash shell" },
477 { "name": "zsh", "description": "Zsh shell" },
478 { "name": "fish", "description": "Fish shell" }
479 ]
480 },
481 { "name": "when", "suggestions": ["pre", "post"] }
482 ],
483 "hidden": true
484 },
485 {
486 "name": ["internal", "_"],
487 "description": "Internal subcommands used for Fig",
488 "hidden": true,
489 "subcommands": [
490 {
491 "name": "local-state",
492 "description": "Change the local-state file",
493 "subcommands": [
494 {
495 "name": "all",
496 "description": "List all the settings",
497 "options": [
498 {
499 "name": ["-f", "--format"],
500 "args": {
501 "name": "format",
502 "isOptional": true,
503 "suggestions": [
504 {
505 "name": "plain",
506 "description": "Outputs the results as markdown"
507 },
508 {
509 "name": "json",
510 "description": "Outputs the results as JSON"
511 },
512 {
513 "name": "json-pretty",
514 "description": "Outputs the results as pretty print JSON"
515 }
516 ]
517 }
518 },
519 { "name": "--help", "description": "Print help information" },
520 {
521 "name": "--version",
522 "description": "Print version information"
523 }
524 ]
525 },
526 {
527 "name": "init",
528 "description": "Reload the state listener",
529 "options": [
530 { "name": "--help", "description": "Print help information" },
531 {
532 "name": "--version",
533 "description": "Print version information"
534 }
535 ]
536 },
537 {
538 "name": "open",
539 "description": "Open the state file",
540 "options": [
541 { "name": "--help", "description": "Print help information" },
542 {
543 "name": "--version",
544 "description": "Print version information"
545 }
546 ]
547 }
548 ],
549 "options": [
550 {
551 "name": ["-f", "--format"],
552 "description": "Format of the output",
553 "args": {
554 "name": "format",
555 "isOptional": true,
556 "suggestions": [
557 {
558 "name": "plain",
559 "description": "Outputs the results as markdown"
560 },
561 {
562 "name": "json",
563 "description": "Outputs the results as JSON"
564 },
565 {
566 "name": "json-pretty",
567 "description": "Outputs the results as pretty print JSON"
568 }
569 ]
570 }
571 },
572 {
573 "name": "--version",
574 "description": "Print version information"
575 },
576 { "name": ["-d", "--delete"], "description": "Delete the state" },
577 {
578 "name": ["-h", "--help"],
579 "description": "Print help information"
580 }
581 ],
582 "args": [
583 { "name": "key", "isOptional": true },
584 { "name": "value", "isOptional": true }
585 ]
586 },
587 {
588 "name": "install",
589 "description": "Install fig cli",
590 "options": [
591 {
592 "name": "--daemon",
593 "description": "Install only the daemon",
594 "exclusiveOn": ["--input-method"]
595 },
596 {
597 "name": "--dotfiles",
598 "description": "Install only the shell integrations",
599 "exclusiveOn": ["--input-method"]
600 },
601 {
602 "name": "--input-method",
603 "description": "Prompt input method installation",
604 "exclusiveOn": ["--daemon", "--dotfiles"]
605 },
606 {
607 "name": "--ssh",
608 "description": "Install only the ssh integration"
609 },
610 {
611 "name": "--version",
612 "description": "Print version information"
613 },
614 {
615 "name": "--no-confirm",
616 "description": "Don't confirm automatic installation"
617 },
618 { "name": "--force", "description": "Force installation of fig" },
619 {
620 "name": ["-h", "--help"],
621 "description": "Print help information"
622 }
623 ]
624 },
625 {
626 "name": "uninstall",
627 "description": "Uninstall fig cli",
628 "options": [
629 {
630 "name": "--ssh",
631 "description": "Uninstall only the ssh integration"
632 },
633 {
634 "name": "--version",
635 "description": "Print version information"
636 },
637 {
638 "name": "--daemon",
639 "description": "Uninstall only the daemon"
640 },
641 {
642 "name": "--dotfiles",
643 "description": "Uninstall only the shell integrations"
644 },
645 {
646 "name": "--binary",
647 "description": "Uninstall only the binary"
648 },
649 {
650 "name": ["-h", "--help"],
651 "description": "Print help information"
652 }
653 ]
654 },
655 {
656 "name": "prompt-dotfiles-changed",
657 "description": "Prompt the user that the dotfiles have changes Also use for `fig source` internals",
658 "options": [
659 {
660 "name": "--version",
661 "description": "Print version information"
662 },
663 {
664 "name": ["-h", "--help"],
665 "description": "Print help information"
666 }
667 ]
668 },
669 {
670 "name": "callback",
671 "description": "Callback used for the internal psudoterminal",
672 "options": [
673 {
674 "name": "--version",
675 "description": "Print version information"
676 },
677 {
678 "name": ["-h", "--help"],
679 "description": "Print help information"
680 }
681 ],
682 "args": [
683 { "name": "handler-id" },
684 { "name": "filename", "isOptional": true },
685 { "name": "exit-code", "isOptional": true }
686 ]
687 },
688 {
689 "name": "warn-user-when-uninstalling-incorrectly",
690 "description": "Notify the user that they are uninstalling incorrectly",
691 "options": [
692 {
693 "name": "--version",
694 "description": "Print version information"
695 },
696 {
697 "name": ["-h", "--help"],
698 "description": "Print help information"
699 }
700 ]
701 },
702 {
703 "name": "animation",
704 "options": [
705 {
706 "name": ["-f", "--filename"],
707 "args": { "name": "filename", "isOptional": true }
708 },
709 {
710 "name": ["-r", "--rate"],
711 "args": { "name": "rate", "isOptional": true }
712 },
713 {
714 "name": ["-b", "--before-text"],
715 "args": { "name": "before-text", "isOptional": true }
716 },
717 {
718 "name": ["-a", "--after-text"],
719 "args": { "name": "after-text", "isOptional": true }
720 },
721 {
722 "name": "--version",
723 "description": "Print version information"
724 },
725 {
726 "name": ["-h", "--help"],
727 "description": "Print help information"
728 }
729 ]
730 },
731 {
732 "name": "get-shell",
733 "options": [
734 {
735 "name": "--version",
736 "description": "Print version information"
737 },
738 {
739 "name": ["-h", "--help"],
740 "description": "Print help information"
741 }
742 ]
743 },
744 {
745 "name": "help",
746 "description": "Print this message or the help of the given subcommand(s)",
747 "options": [
748 {
749 "name": "--version",
750 "description": "Print version information"
751 },
752 {
753 "name": ["-h", "--help"],
754 "description": "Print help information"
755 }
756 ],
757 "args": { "name": "subcommand", "isOptional": true }
758 }
759 ],
760 "options": [
761 { "name": ["-h", "--help"], "description": "Print help information" }
762 ]
763 },
764 {
765 "name": "plugins",
766 "subcommands": [
767 {
768 "name": "list",
769 "description": "List all plugins available in the plugin store",
770 "options": [
771 {
772 "name": ["-f", "--format"],
773 "description": "The output format",
774 "args": [
775 {
776 "name": "format",
777 "isOptional": true,
778 "suggestions": [
779 {
780 "name": "plain",
781 "description": "Outputs the results as markdown"
782 },
783 {
784 "name": "json",
785 "description": "Outputs the results as JSON"
786 },
787 {
788 "name": "json-pretty",
789 "description": "Outputs the results as pretty print JSON"
790 }
791 ]
792 }
793 ]
794 },
795 {
796 "name": "--version",
797 "description": "Print version information"
798 },
799 {
800 "name": ["-i", "--installed"],
801 "description": "Only list plugins that are installed"
802 },
803 {
804 "name": ["-h", "--help"],
805 "description": "Print help information"
806 }
807 ]
808 },
809 {
810 "name": "sync",
811 "description": "Sync the current plugins (this will not update plugins that are already installed)",
812 "options": [
813 {
814 "name": "--version",
815 "description": "Print version information"
816 },
817 {
818 "name": ["-h", "--help"],
819 "description": "Print help information"
820 }
821 ]
822 },
823 {
824 "name": "update",
825 "description": "Update the installed plugins",
826 "options": [
827 {
828 "name": "--version",
829 "description": "Print version information"
830 },
831 {
832 "name": ["-h", "--help"],
833 "description": "Print help information"
834 }
835 ]
836 },
837 {
838 "name": "add",
839 "description": "Install a specific plugin from the plugin store",
840 "options": [
841 {
842 "name": "--version",
843 "description": "Print version information"
844 },
845 {
846 "name": ["-h", "--help"],
847 "description": "Print help information"
848 }
849 ],
850 "args": { "name": "plugin" }
851 },
852 {
853 "name": "remove",
854 "description": "Uninstall a specific plugin",
855 "options": [
856 {
857 "name": "--version",
858 "description": "Print version information"
859 },
860 {
861 "name": ["-h", "--help"],
862 "description": "Print help information"
863 }
864 ],
865 "args": { "name": "plugin" }
866 },
867 {
868 "name": "help",
869 "description": "Print this message or the help of the given subcommand(s)",
870 "options": [
871 {
872 "name": "--version",
873 "description": "Print version information"
874 },
875 {
876 "name": ["-h", "--help"],
877 "description": "Print help information"
878 }
879 ],
880 "args": { "name": "subcommand", "isOptional": true }
881 }
882 ],
883 "options": [
884 { "name": ["-h", "--help"], "description": "Print help information" }
885 ]
886 },
887 {
888 "name": "man",
889 "description": "Open manual page",
890 "options": [
891 { "name": ["-h", "--help"], "description": "Print help information" }
892 ],
893 "args": { "name": "command", "isOptional": true }
894 },
895 {
896 "name": "app",
897 "description": "Interact with the desktop app",
898 "subcommands": [
899 {
900 "name": "install",
901 "description": "Install the Fig app",
902 "options": [
903 {
904 "name": "--version",
905 "description": "Print version information"
906 },
907 {
908 "name": ["-h", "--help"],
909 "description": "Print help information"
910 }
911 ]
912 },
913 {
914 "name": "onboarding",
915 "description": "Run the Fig tutorial again",
916 "options": [
917 {
918 "name": "--version",
919 "description": "Print version information"
920 },
921 {
922 "name": ["-h", "--help"],
923 "description": "Print help information"
924 }
925 ]
926 },
927 {
928 "name": "running",
929 "description": "Check if Fig is running",
930 "options": [
931 {
932 "name": "--version",
933 "description": "Print version information"
934 },
935 {
936 "name": ["-h", "--help"],
937 "description": "Print help information"
938 }
939 ]
940 },
941 {
942 "name": "launch",
943 "description": "Launch the Fig desktop app",
944 "options": [
945 {
946 "name": "--version",
947 "description": "Print version information"
948 },
949 {
950 "name": ["-h", "--help"],
951 "description": "Print help information"
952 }
953 ]
954 },
955 {
956 "name": "restart",
957 "description": "Restart the Fig desktop app",
958 "options": [
959 {
960 "name": "--version",
961 "description": "Print version information"
962 },
963 {
964 "name": ["-h", "--help"],
965 "description": "Print help information"
966 }
967 ]
968 },
969 {
970 "name": "quit",
971 "description": "Quit the Fig desktop app",
972 "options": [
973 {
974 "name": "--version",
975 "description": "Print version information"
976 },
977 {
978 "name": ["-h", "--help"],
979 "description": "Print help information"
980 }
981 ]
982 },
983 {
984 "name": "set-path",
985 "description": "Set the internal psudo-terminal path",
986 "options": [
987 {
988 "name": "--version",
989 "description": "Print version information"
990 },
991 {
992 "name": ["-h", "--help"],
993 "description": "Print help information"
994 }
995 ]
996 },
997 {
998 "name": "uninstall",
999 "description": "Uninstall the Fig app",
1000 "options": [
1001 {
1002 "name": "--version",
1003 "description": "Print version information"
1004 },
1005 {
1006 "name": ["-h", "--help"],
1007 "description": "Print help information"
1008 }
1009 ]
1010 },
1011 {
1012 "name": "prompts",
1013 "description": "Prompts shown on terminal startup",
1014 "options": [
1015 {
1016 "name": "--version",
1017 "description": "Print version information"
1018 },
1019 {
1020 "name": ["-h", "--help"],
1021 "description": "Print help information"
1022 }
1023 ]
1024 },
1025 {
1026 "name": "help",
1027 "description": "Print this message or the help of the given subcommand(s)",
1028 "options": [
1029 {
1030 "name": "--version",
1031 "description": "Print version information"
1032 },
1033 {
1034 "name": ["-h", "--help"],
1035 "description": "Print help information"
1036 }
1037 ],
1038 "args": { "name": "subcommand", "isOptional": true }
1039 }
1040 ],
1041 "options": [
1042 { "name": ["-h", "--help"], "description": "Print help information" }
1043 ]
1044 },
1045 {
1046 "name": "hook",
1047 "description": "Hook commands",
1048 "hidden": true,
1049 "subcommands": [
1050 {
1051 "name": "editbuffer",
1052 "options": [
1053 {
1054 "name": "--version",
1055 "description": "Print version information"
1056 },
1057 {
1058 "name": ["-h", "--help"],
1059 "description": "Print help information"
1060 }
1061 ],
1062 "args": [
1063 { "name": "session-id" },
1064 { "name": "integration" },
1065 { "name": "tty" },
1066 { "name": "pid" },
1067 { "name": "histno" },
1068 { "name": "cursor" },
1069 { "name": "text" }
1070 ]
1071 },
1072 {
1073 "name": "event",
1074 "options": [
1075 {
1076 "name": "--version",
1077 "description": "Print version information"
1078 },
1079 {
1080 "name": ["-h", "--help"],
1081 "description": "Print help information"
1082 }
1083 ],
1084 "args": { "name": "event-name" }
1085 },
1086 {
1087 "name": "hide",
1088 "options": [
1089 {
1090 "name": "--version",
1091 "description": "Print version information"
1092 },
1093 {
1094 "name": ["-h", "--help"],
1095 "description": "Print help information"
1096 }
1097 ]
1098 },
1099 {
1100 "name": "init",
1101 "options": [
1102 {
1103 "name": "--version",
1104 "description": "Print version information"
1105 },
1106 {
1107 "name": ["-h", "--help"],
1108 "description": "Print help information"
1109 }
1110 ],
1111 "args": [{ "name": "pid" }, { "name": "tty" }]
1112 },
1113 {
1114 "name": "integration-ready",
1115 "options": [
1116 {
1117 "name": "--version",
1118 "description": "Print version information"
1119 },
1120 {
1121 "name": ["-h", "--help"],
1122 "description": "Print help information"
1123 }
1124 ],
1125 "args": { "name": "integration" }
1126 },
1127 {
1128 "name": "keyboard-focus-changed",
1129 "options": [
1130 {
1131 "name": "--version",
1132 "description": "Print version information"
1133 },
1134 {
1135 "name": ["-h", "--help"],
1136 "description": "Print help information"
1137 }
1138 ],
1139 "args": [
1140 { "name": "app-identifier" },
1141 { "name": "focused-session-id" }
1142 ]
1143 },
1144 {
1145 "name": "pre-exec",
1146 "options": [
1147 {
1148 "name": "--version",
1149 "description": "Print version information"
1150 },
1151 {
1152 "name": ["-h", "--help"],
1153 "description": "Print help information"
1154 }
1155 ],
1156 "args": [{ "name": "pid" }, { "name": "tty" }]
1157 },
1158 {
1159 "name": "prompt",
1160 "options": [
1161 {
1162 "name": "--version",
1163 "description": "Print version information"
1164 },
1165 {
1166 "name": ["-h", "--help"],
1167 "description": "Print help information"
1168 }
1169 ],
1170 "args": [{ "name": "pid" }, { "name": "tty" }]
1171 },
1172 {
1173 "name": "ssh",
1174 "options": [
1175 {
1176 "name": "--version",
1177 "description": "Print version information"
1178 },
1179 { "name": "--prompt" },
1180 {
1181 "name": ["-h", "--help"],
1182 "description": "Print help information"
1183 }
1184 ],
1185 "args": [
1186 { "name": "pid" },
1187 { "name": "tty" },
1188 { "name": "control-path" },
1189 { "name": "remote-dest" }
1190 ]
1191 },
1192 {
1193 "name": "help",
1194 "description": "Print this message or the help of the given subcommand(s)",
1195 "options": [
1196 {
1197 "name": "--version",
1198 "description": "Print version information"
1199 },
1200 {
1201 "name": ["-h", "--help"],
1202 "description": "Print help information"
1203 }
1204 ],
1205 "args": { "name": "subcommand", "isOptional": true }
1206 }
1207 ],
1208 "options": [
1209 { "name": ["-h", "--help"], "description": "Print help information" }
1210 ]
1211 },
1212 {
1213 "name": "tips",
1214 "description": "Enable/disable fig tips",
1215 "subcommands": [
1216 {
1217 "name": "enable",
1218 "description": "Enable fig tips",
1219 "options": [
1220 {
1221 "name": "--version",
1222 "description": "Print version information"
1223 },
1224 {
1225 "name": ["-h", "--help"],
1226 "description": "Print help information"
1227 }
1228 ]
1229 },
1230 {
1231 "name": "disable",
1232 "description": "Disable fig tips",
1233 "options": [
1234 {
1235 "name": "--version",
1236 "description": "Print version information"
1237 },
1238 {
1239 "name": ["-h", "--help"],
1240 "description": "Print help information"
1241 }
1242 ]
1243 },
1244 {
1245 "name": "reset",
1246 "description": "Reset the tips to the default",
1247 "hidden": true,
1248 "options": [
1249 {
1250 "name": "--version",
1251 "description": "Print version information"
1252 },
1253 {
1254 "name": ["-h", "--help"],
1255 "description": "Print help information"
1256 }
1257 ]
1258 },
1259 {
1260 "name": "prompt",
1261 "description": "Show the tips",
1262 "hidden": true,
1263 "options": [
1264 {
1265 "name": "--version",
1266 "description": "Print version information"
1267 },
1268 {
1269 "name": ["-h", "--help"],
1270 "description": "Print help information"
1271 }
1272 ]
1273 },
1274 {
1275 "name": "help",
1276 "description": "Print this message or the help of the given subcommand(s)",
1277 "options": [
1278 {
1279 "name": "--version",
1280 "description": "Print version information"
1281 },
1282 {
1283 "name": ["-h", "--help"],
1284 "description": "Print help information"
1285 }
1286 ],
1287 "args": { "name": "subcommand", "isOptional": true }
1288 }
1289 ],
1290 "options": [
1291 { "name": ["-h", "--help"], "description": "Print help information" }
1292 ]
1293 },
1294 {
1295 "name": "uninstall",
1296 "description": "Uninstall fig",
1297 "hidden": true,
1298 "options": [
1299 { "name": ["-h", "--help"], "description": "Print help information" }
1300 ]
1301 },
1302 {
1303 "name": "update",
1304 "description": "Update dotfiles",
1305 "options": [
1306 { "name": ["-y", "--no-confirm"], "description": "Force update" },
1307 { "name": ["-h", "--help"], "description": "Print help information" }
1308 ]
1309 },
1310 {
1311 "name": "daemon",
1312 "description": "Run the daemon",
1313 "hidden": true,
1314 "options": [
1315 { "name": ["-h", "--help"], "description": "Print help information" }
1316 ]
1317 },
1318 {
1319 "name": "source",
1320 "description": "Sync your latest dotfiles",
1321 "options": [
1322 { "name": ["-h", "--help"], "description": "Print help information" }
1323 ]
1324 },
1325 {
1326 "name": "theme",
1327 "description": "Get or set theme",
1328 "options": [
1329 { "name": ["-h", "--help"], "description": "Print help information" }
1330 ],
1331 "args": { "name": "theme", "isOptional": true }
1332 },
1333 {
1334 "name": "invite",
1335 "description": "Invite friends to Fig",
1336 "options": [
1337 { "name": ["-h", "--help"], "description": "Print help information" }
1338 ]
1339 },
1340 {
1341 "name": "tweet",
1342 "description": "Tweet about Fig",
1343 "options": [
1344 { "name": ["-h", "--help"], "description": "Print help information" }
1345 ],
1346 "icon": "fig://icon?type=twitter"
1347 },
1348 {
1349 "name": "issue",
1350 "description": "Create a new Github issue",
1351 "options": [
1352 { "name": ["-f", "--force"], "description": "Force issue creation" },
1353 { "name": ["-h", "--help"], "description": "Print help information" }
1354 ],
1355 "args": { "name": "description", "isOptional": true },
1356 "icon": "fig://icon?type=github"
1357 },
1358 {
1359 "name": "login",
1360 "description": "Login to Fig",
1361 "options": [
1362 {
1363 "name": ["-r", "--refresh"],
1364 "description": "Manually refresh the auth token"
1365 },
1366 { "name": ["-h", "--help"], "description": "Print help information" }
1367 ]
1368 },
1369 {
1370 "name": "logout",
1371 "description": "Logout of Fig",
1372 "options": [
1373 { "name": ["-h", "--help"], "description": "Print help information" }
1374 ]
1375 },
1376 {
1377 "name": "user",
1378 "description": "Details about the current user",
1379 "options": [
1380 { "name": ["-h", "--help"], "description": "Print help information" }
1381 ]
1382 },
1383 {
1384 "name": "doctor",
1385 "description": "Check Fig is properly configured",
1386 "options": [
1387 {
1388 "name": "--verbose",
1389 "description": "Run all doctor tests, with no fixes"
1390 },
1391 { "name": "--strict", "description": "Error on warnings" },
1392 { "name": ["-h", "--help"], "description": "Print help information" }
1393 ]
1394 },
1395 {
1396 "name": "completion",
1397 "description": "Generate the completion spec for Fig",
1398 "hidden": true,
1399 "options": [
1400 { "name": ["-h", "--help"], "description": "Print help information" }
1401 ],
1402 "args": {
1403 "name": "shell",
1404 "isOptional": true,
1405 "suggestions": [
1406 { "name": "bash", "description": "Bash shell compleations" },
1407 { "name": "fish", "description": "Fish shell completions" },
1408 { "name": "zsh", "description": "Zsh shell completions" },
1409 { "name": "fig", "description": "Fig completion spec" }
1410 ]
1411 }
1412 },
1413 {
1414 "name": "launch",
1415 "description": "Launch the Fig desktop app",
1416 "options": [
1417 { "name": ["-h", "--help"], "description": "Print help information" }
1418 ]
1419 },
1420 {
1421 "name": "quit",
1422 "description": "Quit the Fig desktop app",
1423 "options": [
1424 { "name": ["-h", "--help"], "description": "Print help information" }
1425 ]
1426 },
1427 {
1428 "name": "restart",
1429 "description": "Restart the Fig desktop app",
1430 "options": [
1431 { "name": ["-h", "--help"], "description": "Print help information" }
1432 ],
1433 "args": {
1434 "name": "process",
1435 "isOptional": true,
1436 "suggestions": [
1437 { "name": "daemon", "description": "Daemon process" },
1438 { "name": "app", "description": "Fig process" }
1439 ]
1440 }
1441 },
1442 {
1443 "name": "alpha",
1444 "description": "(LEGACY) Old way to launch mission control",
1445 "hidden": true,
1446 "options": [
1447 { "name": ["-h", "--help"], "description": "Print help information" }
1448 ]
1449 },
1450 {
1451 "name": "onboarding",
1452 "description": "Run the Fig tutorial",
1453 "options": [
1454 { "name": ["-h", "--help"], "description": "Print help information" }
1455 ]
1456 },
1457 {
1458 "name": "app:running",
1459 "description": "(LEGACY) Old hook that was being used somewhere",
1460 "hidden": true,
1461 "options": [
1462 { "name": ["-h", "--help"], "description": "Print help information" }
1463 ]
1464 },
1465 {
1466 "name": "bg:ssh",
1467 "description": "(LEGACY) Old ssh hook that might be in ~/.ssh/config",
1468 "hidden": true,
1469 "options": [
1470 { "name": ["-h", "--help"], "description": "Print help information" }
1471 ]
1472 },
1473 {
1474 "name": "help",
1475 "description": "Print this message or the help of the given subcommand(s)",
1476 "args": { "name": "subcommand", "isOptional": true }
1477 }
1478 ],
1479 "options": [
1480 { "name": ["-h", "--help"], "description": "Print help information" },
1481 {
1482 "name": ["-V", "--version"],
1483 "description": "Print version information"
1484 }
1485 ]
1486 },
1487 "version": "1.3.1"
1488 }