mix zwave.gen.command (grizzly v0.15.6) View Source

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.