help="expose the TMSS Django REST API via this host. [default=%default]")
help="expose the TMSS Django REST API via this host. [default=%default]")
group=OptionGroup(parser,'Example/Test data')
group=OptionGroup(parser,'Example/Test data, schemas and services',
description='Options to enable/create example/test data, schemas and services. ' \
'Without these options you get a lean and mean TMSS test environment, but then you need to run the background services yourselves, and create test data yourself. ' \
'For standalone commissioning/testing/playing around you need all these options.')
parser.add_option_group(group)
parser.add_option_group(group)
group.add_option('-d','--data',dest='data',action='store_true',help='populate the test-database with test/example data')
group.add_option('-d','--data',dest='data',action='store_true',help='populate the test-database with test/example data')
group.add_option('-s','--schemas',dest='schemas',action='store_true',help='populate the test-database with the TMSS JSON schemas')
group.add_option('-S','--services',dest='services',action='store_true',help='start the TMSS background services.')