extism / cli

The extism CLI is used to generate plugin scaffolding and manage Extism installations
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

feat: add --set-config flag to pass plugin config from host #5

Closed nilslice closed 2 years ago

nilslice commented 2 years ago

@zshipko - helpful to test https://github.com/extism/assemblyscript-pdk/pull/4, and generally a nice feature to have for further completeness.

zshipko commented 2 years ago

Good, idea - I am going to push a change I had sitting around that adds a --config key=value flag too.

nilslice commented 2 years ago

Sweet! I imagine that you can pass --config multiple times, each with a k=v pair? is this setting the same "config" that --set-config does?

If so, do you think we bail if both are used? Or merge values?

zshipko commented 2 years ago

Just pushed the change, it will merge the values if both are provided