The following program demonstrates how to access the command-line arguments.
This zip file contains the complete crate.