A useful technique for your applications is allowing them to parse command line arguments.