add Type command
Merge pull request #8 from martin-marinov/feature/support-scripting

add Type command