implement command line option for case data viewer