command line sample for learning