def mock(args):
    """execute subcommand mock"""
    if 'marker' in args.type.lower():
        from liesl.streams.mock import MarkerMock
        m = MarkerMock()
    else:
        from liesl.streams.mock import Mock
        m = Mock()
    print(m)
    m.start()
