add basic cli command logic