merged updates from doc team for CLI examples

Updated version of the latest changes from the doc team.