Added the skelton for get command
Simplify the error process for command