modified grab_data to use mixlib::cli instead of optparse