add a trim command
Merge pull request #12 from google/devoncarew_add_trim

add a trim command