Plugins v2 allow scripts that may have Virtenv or DevboxDir in them. This causes the commands to show up as absolute paths in the readme. This fixes that issue.
An alternative is to read the raw scripts from the plugin (including the un-templatized string). This may be a better solution long term, but is more work and would require specially plugin parsing only for the readme generation so I punted on that approach for now.
Summary
Plugins v2 allow scripts that may have
Virtenv
orDevboxDir
in them. This causes the commands to show up as absolute paths in the readme. This fixes that issue.An alternative is to read the raw scripts from the plugin (including the un-templatized string). This may be a better solution long term, but is more work and would require specially plugin parsing only for the readme generation so I punted on that approach for now.
How was it tested?
Tested with new go monorepo plugin https://github.com/jetpack-io/devbox-plugins/pull/7