Collect data from the command line