refactoring commander, implement `tasks get`