mirror of https://github.com/chriskiehl/Gooey.git
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.
208 lines
4.5 KiB
208 lines
4.5 KiB
{
|
|
"num_optional_cols": 2,
|
|
"num_required_cols": 2,
|
|
"show_advanced": true,
|
|
"program_name": "Widget Demo",
|
|
"target": "python c:\\users\\chris\\appdata\\local\\temp\\tmpph43cj.py",
|
|
"language": "english",
|
|
"manual_start": false,
|
|
"show_config": true,
|
|
"default_size": [
|
|
610,
|
|
530
|
|
],
|
|
"widgets": [
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [],
|
|
"display_name": "FileChooser",
|
|
"help": "Name of the file you want to process",
|
|
"choices": []
|
|
},
|
|
"required": true,
|
|
"type": "FileChooser"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [],
|
|
"display_name": "MultiFileSaver",
|
|
"help": "Name of the file you want to process",
|
|
"choices": []
|
|
},
|
|
"required": true,
|
|
"type": "MultiFileChooser"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-d",
|
|
"--duration"
|
|
],
|
|
"display_name": "duration",
|
|
"help": "Duration (in seconds) of the program output",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "TextField"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-s",
|
|
"--cron-schedule"
|
|
],
|
|
"display_name": "cron_schedule",
|
|
"help": "datetime when the cron should begin",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "DateChooser"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-c",
|
|
"--showtime"
|
|
],
|
|
"display_name": "showtime",
|
|
"help": "display the countdown timer",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "CheckBox"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-p",
|
|
"--pause"
|
|
],
|
|
"display_name": "pause",
|
|
"help": "Pause execution",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "CheckBox"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-v",
|
|
"--verbose"
|
|
],
|
|
"display_name": "verbose",
|
|
"help": null,
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "Dropdown",
|
|
"choices": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-o",
|
|
"--overwrite"
|
|
],
|
|
"display_name": "overwrite",
|
|
"help": "Overwrite output file (if present)",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "CheckBox"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-r",
|
|
"--recursive"
|
|
],
|
|
"display_name": "recursive",
|
|
"help": "Recurse into subfolders",
|
|
"choices": [
|
|
"yes",
|
|
"no"
|
|
]
|
|
},
|
|
"required": false,
|
|
"type": "Dropdown"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-w",
|
|
"--writelog"
|
|
],
|
|
"display_name": "writelog",
|
|
"help": "Dump output to local file",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "TextField"
|
|
},
|
|
{
|
|
"data": {
|
|
"nargs": "",
|
|
"commands": [
|
|
"-e",
|
|
"--error"
|
|
],
|
|
"display_name": "error",
|
|
"help": "Stop process on error (default: No)",
|
|
"choices": []
|
|
},
|
|
"required": false,
|
|
"type": "CheckBox"
|
|
},
|
|
{
|
|
"data": [
|
|
{
|
|
"nargs": "",
|
|
"commands": [
|
|
"-t",
|
|
"--verbozze"
|
|
],
|
|
"display_name": "verbose",
|
|
"help": "Show more details",
|
|
"choices": null
|
|
},
|
|
{
|
|
"nargs": "",
|
|
"commands": [
|
|
"-q",
|
|
"--quiet"
|
|
],
|
|
"display_name": "quiet",
|
|
"help": "Only output on error",
|
|
"choices": null
|
|
}
|
|
],
|
|
"required": false,
|
|
"type": "RadioGroup",
|
|
"group_name": "Choose Option"
|
|
}
|
|
],
|
|
"layout_type": "standard",
|
|
"program_description": "Example application to show Gooey's various widgets"
|
|
}
|