getName method Null safety

String getName()

Gets the command name.

Returns the command name.