Blank config templates¶
For your convenience, here are blank config templates in .yaml, .json and .py (dict) formats. Add tabs and items as desired.
Remember, having only one tab is the same as having no tabs (there’s nothing else to switch to), so in that case the ‘tabs’ key is optional, you can just have the ‘items’ key in the top level. And if you do have a ‘tabs’ key with only one items, it can’t have ‘tab_header_*’ keys, because they would be meaningless and the program schema validator thinks you made a mistake by leaving out the other tabs.
case_sensitive: False
screen_width: 80
tabs:
- tab_header_input: tabinput1
tab_header_description: tabdescript1
tab_header_long_description: tablongdescript1
items:
- item_choice_displayed: choice1
item_description: descript1
item_inputs:
- input1
item_returns: return1
{
"case_sensitive": false,
"screen_width": 80,
"tabs": [
{
"tab_header_input": "tabinput1",
"tab_header_description": "tabdescript1",
"tab_header_long_description": "tablongdescript1",
"items": [
{
"item_choice_displayed": "choice1",
"item_description": "descript1",
"item_inputs": [
"input1"
],
"item_returns": "return1"
}
]
}
]
}
config = {'case_sensitive': False,
'screen_width': 80,
'tabs': [{'tab_header_input': 'tabinput1',
'tab_header_description': 'tabdescript1',
'tab_header_long_description': 'tablongdescript2',
'items': [{'item_choice_displayed': 'choice1',
'item_description': 'descript1',
'item_inputs': ['input1'],
"item_returns": 'return1' }
]}]
}