View Source mix zwave.gen.command_class (grizzly v8.6.6)

Generates the scaffolding for a new Z-Wave Command

mix zwave.gen.command_class ThermostatMode 40

The pattern is

mix zwave.gen.command_class CommandClassModule CommandClassID

Flags:

  • --no-save - will print the generated module out to the console
  • --target-dir <path> - will generate the new module at the provided path

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

get_target(opts)

run(args)

Callback implementation for Mix.Task.run/1.