Added close command to CLI

Added 'close' command to CLI to close currently opened object.