add command completion feature
Merge pull request #20 from vietj/master

Command completion