cmd assistant, pretty code