derberg / python-mqtt-client-template

This template generates MQTT Python client module. Its purpose is to abstract for the application client technical information about the broker and the names of topics it should use. Instead, it generates a module that provides a set of indent-driven functions that one can invoke to send a message to the application through the message broker.
2 stars 1 forks source link

fix test script to invoke asyncapi cli with npx #13

Closed derberg closed 3 months ago

derberg commented 4 months ago

In https://github.com/derberg/python-mqtt-client-template/blob/main/package.json#L21 you need to modify the call of asyncapi command to use npx tool

example https://www.asyncapi.com/docs/tools/generator/usage#cli-usage-with-npx-instead-of-npm