NSX CLI Guide
get command history
Display the commands history in command output.To show all command history set size to 0.
Note:Outputs command history from version 3.2.0 and above.