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