update spec output for command show
refactor specs for commands with mandatory params