Points example working
This commit is contained in:
parent
dfcc24f487
commit
6df566373d
13 changed files with 518 additions and 50 deletions
36
framework/prompt_questions.py
Normal file
36
framework/prompt_questions.py
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
from PyInquirer import Separator
|
||||
|
||||
MODEL_SELECTED = [
|
||||
{
|
||||
'type': 'list',
|
||||
'name': 'op',
|
||||
'message': 'Model selected... Which operation would you like to perform?',
|
||||
'choices': [
|
||||
'get types',
|
||||
'select context',
|
||||
Separator(),
|
||||
'close model'
|
||||
],
|
||||
'filter': lambda x: x.replace(' ', '_')
|
||||
}
|
||||
]
|
||||
|
||||
MODEL_MGMT = [
|
||||
{
|
||||
'type': 'list',
|
||||
'name': 'op',
|
||||
'message': 'Which model management operation would you like to perform?',
|
||||
'choices': [
|
||||
'get models',
|
||||
'select model',
|
||||
'instantiate model',
|
||||
'check conformance',
|
||||
Separator(),
|
||||
'load state',
|
||||
'dump state',
|
||||
Separator(),
|
||||
'exit'
|
||||
],
|
||||
'filter': lambda x: x.replace(' ', '_')
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue