Class: Command

Command(opts, run)

new Command(opts, run)

Create a new command

Parameters:
Name Type Description
opts CommandOptions

Parameters for the command

run CommandCallback

The actual function to run when the command is called

Source: