Add showCmdSpecForUser and a function to map the Output type