add CLI config functionality (num, nest)

* make Cli::Config to configure num and nest
* move existed configure methods to Cli::Config
* improve alias of CLI commands
* refactor some codes