a learning example of building command line tool using thor