Command.this

Constructs a new command with the given name.

class Command
@safe
this
(
string name
)

Parameters

name string

Name of the command.

Throws

AssertionError if the name is empty.