Command constructor
Creates a new command object and assigns it's parameters.
- name the command name.
- schema the schema to validate command arguments.
- func the function to be executed by this command.
Creates a new command object and assigns it's parameters.