You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: What is this used for?
handler: I am guessing this is what the command is called, example please.
usage: What does this do?
help: What does this do?
The text was updated successfully, but these errors were encountered:
This would be good to document in the readme, but..
Name is the command name, as the user types after a period (so "foo" is typed .foo). Handler is the callback used to execute the command, it is invoked with the command arguments if any, examples in https://github.com/deathcap/voxel-commands/blob/master/commands.coffee#L56. Usage is a string describing the syntax to the user -- arguments needed and what they are for, help is a short description of what the command does (both of these are used to display the .help command).
I am trying to figure out how to register a command.
name: What is this used for?
handler: I am guessing this is what the command is called, example please.
usage: What does this do?
help: What does this do?
The text was updated successfully, but these errors were encountered: