View Source mix zwave.gen.command (grizzly v6.1.1)

Generates the scaffolding for a new Z-Wave Command

mix zwave.gen.command ThermostatModeSet Thermostat mode

The pattern is

mix zwave.gen.command CommandModuleName CommandClassModule params....

Flags:

  • --no-save - will print the generated module out to the console
  • --target-dir <path> - will generate the new module at the provided path
  • --no_test - if set, will not generate a test file

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.