When we run the generator to create a python pyharp interface, we get:
# This file was automatically generated and should not be edited directly.
# To make changes, edit the device metadata and regenerate the interface.
It would be more useful to add information that includes:
- the CLI command used to generate it
- a link to the utility
Example:
# This file was automatically generated with
# harp.toolkit.something device.yml --some-flags
# using the generator at:
# https://github.com/harp-tech/generators/SOMETHING
# Do not edit this file directly. To make changes, edit the device.yml
# and re-run the command above.
For folks new to the ecosystem, they may encounter these generated files in an examples folder for a harp device without any context. It would be useful to point them back to how it was generated so that they can make changes as needed, or go on to build their own devices.
When we run the generator to create a python pyharp interface, we get:
It would be more useful to add information that includes:
Example:
For folks new to the ecosystem, they may encounter these generated files in an examples folder for a harp device without any context. It would be useful to point them back to how it was generated so that they can make changes as needed, or go on to build their own devices.