You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

971 lines
29 KiB

  1. {
  2. "default_size": [
  3. 610,
  4. 530
  5. ],
  6. "header_height": 80,
  7. "language": "english",
  8. "terminal_font_weight": null,
  9. "auto_start": false,
  10. "num_optional_cols": 2,
  11. "monospace_display": false,
  12. "progress_expr": null,
  13. "widgets": {
  14. "Parser 1": {
  15. "command": "parser1",
  16. "contents": [
  17. {
  18. "groups": [],
  19. "description": null,
  20. "name": "Optional Arguments",
  21. "options": {
  22. "show_border": false,
  23. "columns": 2,
  24. "padding": 10
  25. },
  26. "items": [
  27. {
  28. "id": "--textfield",
  29. "type": "TextField",
  30. "required": false,
  31. "data": {
  32. "choices": [],
  33. "dest": "textfield",
  34. "required": false,
  35. "display_name": "textfield",
  36. "default": 2,
  37. "help": null,
  38. "nargs": "",
  39. "commands": [
  40. "--textfield"
  41. ]
  42. },
  43. "options": {
  44. "error_color": "#ea7878",
  45. "external_validator": {
  46. "cmd": ""
  47. },
  48. "validator": {
  49. "message": "",
  50. "test": "True"
  51. }
  52. },
  53. "cli_type": "optional"
  54. },
  55. {
  56. "id": "--textarea",
  57. "type": "Textarea",
  58. "required": false,
  59. "data": {
  60. "choices": [],
  61. "dest": "textarea",
  62. "required": false,
  63. "display_name": "textarea",
  64. "default": "oneline twoline",
  65. "help": null,
  66. "nargs": "",
  67. "commands": [
  68. "--textarea"
  69. ]
  70. },
  71. "options": {
  72. "error_color": "#ea7878",
  73. "external_validator": {
  74. "cmd": ""
  75. },
  76. "validator": {
  77. "message": "",
  78. "test": "True"
  79. }
  80. },
  81. "cli_type": "optional"
  82. },
  83. {
  84. "id": "--password",
  85. "type": "PasswordField",
  86. "required": false,
  87. "data": {
  88. "choices": [],
  89. "dest": "password",
  90. "required": false,
  91. "display_name": "password",
  92. "default": "hunter42",
  93. "help": null,
  94. "nargs": "",
  95. "commands": [
  96. "--password"
  97. ]
  98. },
  99. "options": {
  100. "error_color": "#ea7878",
  101. "external_validator": {
  102. "cmd": ""
  103. },
  104. "validator": {
  105. "message": "",
  106. "test": "True"
  107. }
  108. },
  109. "cli_type": "optional"
  110. },
  111. {
  112. "id": "--commandfield",
  113. "type": "CommandField",
  114. "required": false,
  115. "data": {
  116. "choices": [],
  117. "dest": "commandfield",
  118. "required": false,
  119. "display_name": "commandfield",
  120. "default": "cmdr",
  121. "help": null,
  122. "nargs": "",
  123. "commands": [
  124. "--commandfield"
  125. ]
  126. },
  127. "options": {
  128. "error_color": "#ea7878",
  129. "external_validator": {
  130. "cmd": ""
  131. },
  132. "validator": {
  133. "message": "",
  134. "test": "True"
  135. }
  136. },
  137. "cli_type": "optional"
  138. },
  139. {
  140. "id": "--dropdown",
  141. "type": "Dropdown",
  142. "required": false,
  143. "data": {
  144. "choices": [
  145. "one",
  146. "two"
  147. ],
  148. "dest": "dropdown",
  149. "required": false,
  150. "display_name": "dropdown",
  151. "default": "two",
  152. "help": null,
  153. "nargs": "",
  154. "commands": [
  155. "--dropdown"
  156. ]
  157. },
  158. "options": {
  159. "error_color": "#ea7878",
  160. "external_validator": {
  161. "cmd": ""
  162. },
  163. "validator": {
  164. "message": "",
  165. "test": "True"
  166. }
  167. },
  168. "cli_type": "optional"
  169. },
  170. {
  171. "id": "--listboxie",
  172. "type": "Listbox",
  173. "required": false,
  174. "data": {
  175. "choices": [
  176. "Option one",
  177. "Option two",
  178. "Option three",
  179. "Option four"
  180. ],
  181. "dest": "listboxie",
  182. "required": false,
  183. "display_name": "listboxie",
  184. "default": [
  185. "Option three",
  186. "Option four"
  187. ],
  188. "help": null,
  189. "nargs": "+",
  190. "commands": [
  191. "--listboxie"
  192. ]
  193. },
  194. "options": {
  195. "height": 300,
  196. "validate": "",
  197. "text_color": "",
  198. "heading_color": "",
  199. "hide_text": true,
  200. "external_validator": {
  201. "cmd": ""
  202. },
  203. "validator": {
  204. "message": "",
  205. "test": "True"
  206. },
  207. "hide_heading": true,
  208. "error_color": "#ea7878"
  209. },
  210. "cli_type": "optional"
  211. },
  212. {
  213. "id": "-c",
  214. "type": "Counter",
  215. "required": false,
  216. "data": {
  217. "choices": [
  218. "1",
  219. "2",
  220. "3",
  221. "4",
  222. "5",
  223. "6",
  224. "7",
  225. "8",
  226. "9",
  227. "10"
  228. ],
  229. "dest": "counter",
  230. "required": false,
  231. "display_name": "counter",
  232. "default": 3,
  233. "help": null,
  234. "nargs": "",
  235. "commands": [
  236. "-c",
  237. "--counter"
  238. ]
  239. },
  240. "options": {
  241. "error_color": "#ea7878",
  242. "external_validator": {
  243. "cmd": ""
  244. },
  245. "validator": {
  246. "message": "",
  247. "test": "True"
  248. }
  249. },
  250. "cli_type": "optional"
  251. },
  252. {
  253. "id": "-o",
  254. "type": "CheckBox",
  255. "required": false,
  256. "data": {
  257. "choices": [],
  258. "dest": "overwrite",
  259. "required": false,
  260. "display_name": "overwrite",
  261. "default": true,
  262. "help": null,
  263. "nargs": "",
  264. "commands": [
  265. "-o",
  266. "--overwrite"
  267. ]
  268. },
  269. "options": {
  270. "error_color": "#ea7878",
  271. "external_validator": {
  272. "cmd": ""
  273. },
  274. "validator": {
  275. "message": "",
  276. "test": "True"
  277. }
  278. },
  279. "cli_type": "optional"
  280. },
  281. {
  282. "id": "744eb075-ff4b-4731-9539-795846089b37",
  283. "type": "RadioGroup",
  284. "required": true,
  285. "data": {
  286. "widgets": [
  287. {
  288. "id": "--mutexone",
  289. "type": "CheckBox",
  290. "required": false,
  291. "data": {
  292. "choices": [],
  293. "dest": "mutexone",
  294. "required": false,
  295. "display_name": "mutexone",
  296. "default": true,
  297. "help": "Show more details",
  298. "nargs": "",
  299. "commands": [
  300. "--mutexone"
  301. ]
  302. },
  303. "options": {
  304. "error_color": "#ea7878",
  305. "external_validator": {
  306. "cmd": ""
  307. },
  308. "validator": {
  309. "message": "",
  310. "test": "True"
  311. }
  312. },
  313. "cli_type": "optional"
  314. },
  315. {
  316. "id": "--mutextwo",
  317. "type": "TextField",
  318. "required": false,
  319. "data": {
  320. "choices": [],
  321. "dest": "mutextwo",
  322. "required": false,
  323. "display_name": "mutextwo",
  324. "default": "mut-2",
  325. "help": null,
  326. "nargs": "",
  327. "commands": [
  328. "--mutextwo"
  329. ]
  330. },
  331. "options": {
  332. "error_color": "#ea7878",
  333. "external_validator": {
  334. "cmd": ""
  335. },
  336. "validator": {
  337. "message": "",
  338. "test": "True"
  339. }
  340. },
  341. "cli_type": "optional"
  342. }
  343. ],
  344. "commands": [
  345. [
  346. "--mutexone"
  347. ],
  348. [
  349. "--mutextwo"
  350. ]
  351. ]
  352. },
  353. "options": {
  354. "initial_selection": 1
  355. },
  356. "group_name": "Choose Option",
  357. "cli_type": "optional"
  358. },
  359. {
  360. "id": "--filechooser",
  361. "type": "FileChooser",
  362. "required": false,
  363. "data": {
  364. "choices": [],
  365. "dest": "filechooser",
  366. "required": false,
  367. "display_name": "filechooser",
  368. "default": "fc-value",
  369. "help": null,
  370. "nargs": "",
  371. "commands": [
  372. "--filechooser"
  373. ]
  374. },
  375. "options": {
  376. "error_color": "#ea7878",
  377. "external_validator": {
  378. "cmd": ""
  379. },
  380. "validator": {
  381. "message": "",
  382. "test": "True"
  383. }
  384. },
  385. "cli_type": "optional"
  386. },
  387. {
  388. "id": "--filesaver",
  389. "type": "FileSaver",
  390. "required": false,
  391. "data": {
  392. "choices": [],
  393. "dest": "filesaver",
  394. "required": false,
  395. "display_name": "filesaver",
  396. "default": "fs-value",
  397. "help": null,
  398. "nargs": "",
  399. "commands": [
  400. "--filesaver"
  401. ]
  402. },
  403. "options": {
  404. "error_color": "#ea7878",
  405. "external_validator": {
  406. "cmd": ""
  407. },
  408. "validator": {
  409. "message": "",
  410. "test": "True"
  411. }
  412. },
  413. "cli_type": "optional"
  414. },
  415. {
  416. "id": "--dirchooser",
  417. "type": "DirChooser",
  418. "required": false,
  419. "data": {
  420. "choices": [],
  421. "dest": "dirchooser",
  422. "required": false,
  423. "display_name": "dirchooser",
  424. "default": "dc-value",
  425. "help": null,
  426. "nargs": "",
  427. "commands": [
  428. "--dirchooser"
  429. ]
  430. },
  431. "options": {
  432. "error_color": "#ea7878",
  433. "external_validator": {
  434. "cmd": ""
  435. },
  436. "validator": {
  437. "message": "",
  438. "test": "True"
  439. }
  440. },
  441. "cli_type": "optional"
  442. },
  443. {
  444. "id": "--datechooser",
  445. "type": "DateChooser",
  446. "required": false,
  447. "data": {
  448. "choices": [],
  449. "dest": "datechooser",
  450. "required": false,
  451. "display_name": "datechooser",
  452. "default": "2015-01-01",
  453. "help": null,
  454. "nargs": "",
  455. "commands": [
  456. "--datechooser"
  457. ]
  458. },
  459. "options": {
  460. "error_color": "#ea7878",
  461. "external_validator": {
  462. "cmd": ""
  463. },
  464. "validator": {
  465. "message": "",
  466. "test": "True"
  467. }
  468. },
  469. "cli_type": "optional"
  470. }
  471. ]
  472. }
  473. ]
  474. },
  475. "parser 2": {
  476. "command": "parser2",
  477. "contents": [
  478. {
  479. "groups": [],
  480. "description": null,
  481. "name": "Optional Arguments",
  482. "options": {
  483. "show_border": false,
  484. "columns": 2,
  485. "padding": 10
  486. },
  487. "items": [
  488. {
  489. "id": "--textfield",
  490. "type": "TextField",
  491. "required": false,
  492. "data": {
  493. "choices": [],
  494. "dest": "textfield",
  495. "required": false,
  496. "display_name": "textfield",
  497. "default": 2,
  498. "help": null,
  499. "nargs": "",
  500. "commands": [
  501. "--textfield"
  502. ]
  503. },
  504. "options": {
  505. "error_color": "#ea7878",
  506. "external_validator": {
  507. "cmd": ""
  508. },
  509. "validator": {
  510. "message": "",
  511. "test": "True"
  512. }
  513. },
  514. "cli_type": "optional"
  515. },
  516. {
  517. "id": "--textarea",
  518. "type": "Textarea",
  519. "required": false,
  520. "data": {
  521. "choices": [],
  522. "dest": "textarea",
  523. "required": false,
  524. "display_name": "textarea",
  525. "default": "oneline twoline",
  526. "help": null,
  527. "nargs": "",
  528. "commands": [
  529. "--textarea"
  530. ]
  531. },
  532. "options": {
  533. "error_color": "#ea7878",
  534. "external_validator": {
  535. "cmd": ""
  536. },
  537. "validator": {
  538. "message": "",
  539. "test": "True"
  540. }
  541. },
  542. "cli_type": "optional"
  543. },
  544. {
  545. "id": "--password",
  546. "type": "PasswordField",
  547. "required": false,
  548. "data": {
  549. "choices": [],
  550. "dest": "password",
  551. "required": false,
  552. "display_name": "password",
  553. "default": "hunter42",
  554. "help": null,
  555. "nargs": "",
  556. "commands": [
  557. "--password"
  558. ]
  559. },
  560. "options": {
  561. "error_color": "#ea7878",
  562. "external_validator": {
  563. "cmd": ""
  564. },
  565. "validator": {
  566. "message": "",
  567. "test": "True"
  568. }
  569. },
  570. "cli_type": "optional"
  571. },
  572. {
  573. "id": "--commandfield",
  574. "type": "CommandField",
  575. "required": false,
  576. "data": {
  577. "choices": [],
  578. "dest": "commandfield",
  579. "required": false,
  580. "display_name": "commandfield",
  581. "default": "cmdr",
  582. "help": null,
  583. "nargs": "",
  584. "commands": [
  585. "--commandfield"
  586. ]
  587. },
  588. "options": {
  589. "error_color": "#ea7878",
  590. "external_validator": {
  591. "cmd": ""
  592. },
  593. "validator": {
  594. "message": "",
  595. "test": "True"
  596. }
  597. },
  598. "cli_type": "optional"
  599. },
  600. {
  601. "id": "--dropdown",
  602. "type": "Dropdown",
  603. "required": false,
  604. "data": {
  605. "choices": [
  606. "one",
  607. "two"
  608. ],
  609. "dest": "dropdown",
  610. "required": false,
  611. "display_name": "dropdown",
  612. "default": "two",
  613. "help": null,
  614. "nargs": "",
  615. "commands": [
  616. "--dropdown"
  617. ]
  618. },
  619. "options": {
  620. "error_color": "#ea7878",
  621. "external_validator": {
  622. "cmd": ""
  623. },
  624. "validator": {
  625. "message": "",
  626. "test": "True"
  627. }
  628. },
  629. "cli_type": "optional"
  630. },
  631. {
  632. "id": "--listboxie",
  633. "type": "Listbox",
  634. "required": false,
  635. "data": {
  636. "choices": [
  637. "Option one",
  638. "Option two",
  639. "Option three",
  640. "Option four"
  641. ],
  642. "dest": "listboxie",
  643. "required": false,
  644. "display_name": "listboxie",
  645. "default": [
  646. "Option three",
  647. "Option four"
  648. ],
  649. "help": null,
  650. "nargs": "+",
  651. "commands": [
  652. "--listboxie"
  653. ]
  654. },
  655. "options": {
  656. "height": 300,
  657. "validate": "",
  658. "text_color": "",
  659. "heading_color": "",
  660. "hide_text": true,
  661. "external_validator": {
  662. "cmd": ""
  663. },
  664. "validator": {
  665. "message": "",
  666. "test": "True"
  667. },
  668. "hide_heading": true,
  669. "error_color": "#ea7878"
  670. },
  671. "cli_type": "optional"
  672. },
  673. {
  674. "id": "-c",
  675. "type": "Counter",
  676. "required": false,
  677. "data": {
  678. "choices": [
  679. "1",
  680. "2",
  681. "3",
  682. "4",
  683. "5",
  684. "6",
  685. "7",
  686. "8",
  687. "9",
  688. "10"
  689. ],
  690. "dest": "counter",
  691. "required": false,
  692. "display_name": "counter",
  693. "default": 3,
  694. "help": null,
  695. "nargs": "",
  696. "commands": [
  697. "-c",
  698. "--counter"
  699. ]
  700. },
  701. "options": {
  702. "error_color": "#ea7878",
  703. "external_validator": {
  704. "cmd": ""
  705. },
  706. "validator": {
  707. "message": "",
  708. "test": "True"
  709. }
  710. },
  711. "cli_type": "optional"
  712. },
  713. {
  714. "id": "-o",
  715. "type": "CheckBox",
  716. "required": false,
  717. "data": {
  718. "choices": [],
  719. "dest": "overwrite",
  720. "required": false,
  721. "display_name": "overwrite",
  722. "default": true,
  723. "help": null,
  724. "nargs": "",
  725. "commands": [
  726. "-o",
  727. "--overwrite"
  728. ]
  729. },
  730. "options": {
  731. "error_color": "#ea7878",
  732. "external_validator": {
  733. "cmd": ""
  734. },
  735. "validator": {
  736. "message": "",
  737. "test": "True"
  738. }
  739. },
  740. "cli_type": "optional"
  741. },
  742. {
  743. "id": "18fe890f-3df3-43d4-b842-cf9ad3d02178",
  744. "type": "RadioGroup",
  745. "required": true,
  746. "data": {
  747. "widgets": [
  748. {
  749. "id": "--mutexone",
  750. "type": "CheckBox",
  751. "required": false,
  752. "data": {
  753. "choices": [],
  754. "dest": "mutexone",
  755. "required": false,
  756. "display_name": "mutexone",
  757. "default": true,
  758. "help": "Show more details",
  759. "nargs": "",
  760. "commands": [
  761. "--mutexone"
  762. ]
  763. },
  764. "options": {
  765. "error_color": "#ea7878",
  766. "external_validator": {
  767. "cmd": ""
  768. },
  769. "validator": {
  770. "message": "",
  771. "test": "True"
  772. }
  773. },
  774. "cli_type": "optional"
  775. },
  776. {
  777. "id": "--mutextwo",
  778. "type": "TextField",
  779. "required": false,
  780. "data": {
  781. "choices": [],
  782. "dest": "mutextwo",
  783. "required": false,
  784. "display_name": "mutextwo",
  785. "default": "mut-2",
  786. "help": null,
  787. "nargs": "",
  788. "commands": [
  789. "--mutextwo"
  790. ]
  791. },
  792. "options": {
  793. "error_color": "#ea7878",
  794. "external_validator": {
  795. "cmd": ""
  796. },
  797. "validator": {
  798. "message": "",
  799. "test": "True"
  800. }
  801. },
  802. "cli_type": "optional"
  803. }
  804. ],
  805. "commands": [
  806. [
  807. "--mutexone"
  808. ],
  809. [
  810. "--mutextwo"
  811. ]
  812. ]
  813. },
  814. "options": {
  815. "initial_selection": 1
  816. },
  817. "group_name": "Choose Option",
  818. "cli_type": "optional"
  819. },
  820. {
  821. "id": "--filechooser",
  822. "type": "FileChooser",
  823. "required": false,
  824. "data": {
  825. "choices": [],
  826. "dest": "filechooser",
  827. "required": false,
  828. "display_name": "filechooser",
  829. "default": "fc-value",
  830. "help": null,
  831. "nargs": "",
  832. "commands": [
  833. "--filechooser"
  834. ]
  835. },
  836. "options": {
  837. "error_color": "#ea7878",
  838. "external_validator": {
  839. "cmd": ""
  840. },
  841. "validator": {
  842. "message": "",
  843. "test": "True"
  844. }
  845. },
  846. "cli_type": "optional"
  847. },
  848. {
  849. "id": "--filesaver",
  850. "type": "FileSaver",
  851. "required": false,
  852. "data": {
  853. "choices": [],
  854. "dest": "filesaver",
  855. "required": false,
  856. "display_name": "filesaver",
  857. "default": "fs-value",
  858. "help": null,
  859. "nargs": "",
  860. "commands": [
  861. "--filesaver"
  862. ]
  863. },
  864. "options": {
  865. "error_color": "#ea7878",
  866. "external_validator": {
  867. "cmd": ""
  868. },
  869. "validator": {
  870. "message": "",
  871. "test": "True"
  872. }
  873. },
  874. "cli_type": "optional"
  875. },
  876. {
  877. "id": "--dirchooser",
  878. "type": "DirChooser",
  879. "required": false,
  880. "data": {
  881. "choices": [],
  882. "dest": "dirchooser",
  883. "required": false,
  884. "display_name": "dirchooser",
  885. "default": "dc-value",
  886. "help": null,
  887. "nargs": "",
  888. "commands": [
  889. "--dirchooser"
  890. ]
  891. },
  892. "options": {
  893. "error_color": "#ea7878",
  894. "external_validator": {
  895. "cmd": ""
  896. },
  897. "validator": {
  898. "message": "",
  899. "test": "True"
  900. }
  901. },
  902. "cli_type": "optional"
  903. },
  904. {
  905. "id": "--datechooser",
  906. "type": "DateChooser",
  907. "required": false,
  908. "data": {
  909. "choices": [],
  910. "dest": "datechooser",
  911. "required": false,
  912. "display_name": "datechooser",
  913. "default": "2015-01-01",
  914. "help": null,
  915. "nargs": "",
  916. "commands": [
  917. "--datechooser"
  918. ]
  919. },
  920. "options": {
  921. "error_color": "#ea7878",
  922. "external_validator": {
  923. "cmd": ""
  924. },
  925. "validator": {
  926. "message": "",
  927. "test": "True"
  928. }
  929. },
  930. "cli_type": "optional"
  931. }
  932. ]
  933. }
  934. ]
  935. }
  936. },
  937. "run_validators": true,
  938. "use_legacy_titles": true,
  939. "header_bg_color": "#ffffff",
  940. "disable_progress_bar_animation": false,
  941. "terminal_font_size": null,
  942. "target": "\"F:\\Dropbox\\pretty_gui\\Gooey\\venv3\\Scripts\\python.exe\" -u \"F:/Dropbox/pretty_gui/Gooey/gooey/tests/all_widgets_subparser.py\"",
  943. "body_bg_color": "#f0f0f0",
  944. "show_stop_warning": true,
  945. "image_dir": "::gooey/default",
  946. "progress_regex": null,
  947. "program_description": "",
  948. "header_image_center": false,
  949. "header_show_title": true,
  950. "program_name": "Subparser Demo",
  951. "terminal_font_family": null,
  952. "footer_bg_color": "#f0f0f0",
  953. "poll_external_updates": false,
  954. "sidebar_title": "Actions",
  955. "layout": "standard",
  956. "navigation": "SIDEBAR",
  957. "num_required_cols": 2,
  958. "tabbed_groups": false,
  959. "disable_stop_button": false,
  960. "encoding": "utf-8",
  961. "terminal_panel_color": "#F0F0F0",
  962. "group_by_type": true,
  963. "terminal_font_color": "#000000",
  964. "manual_start": false,
  965. "show_success_modal": false,
  966. "language_dir": "F:\\Dropbox\\pretty_gui\\Gooey\\gooey\\languages",
  967. "show_sidebar": true,
  968. "sidebar_bg_color": "#f2f2f2",
  969. "error_color": "#ea7878",
  970. "show_advanced": true,
  971. "header_show_subtitle": true
  972. }