complete the command tool