improve Cli#num to be configured by any command
improve Cli#nest to be configured by any command
refactor Cli specs to reduce duplications