porter icon indicating copy to clipboard operation
porter copied to clipboard

Update Mixin Documentation and Skeletor with a "How To"

Open schristoff opened this issue 1 year ago • 4 comments

A tutorial that shows the user how to write a mixin would be great. We should leverage existing documentation https://porter.sh/docs/how-to-guides/work-with-mixins/ , https://porter.sh/docs/development/dev-a-mixin/

schristoff avatar Jul 01 '24 16:07 schristoff

Hey @kichristensen @schristoff can I work on this?

Pushkarmondal avatar Aug 26 '24 14:08 Pushkarmondal

@Pushkarmondal its would be awesome if you would take a look at this issue. Please reach out if you need any help, we are happy to help

kichristensen avatar Aug 28 '24 13:08 kichristensen

Sure

Pushkarmondal avatar Aug 28 '24 13:08 Pushkarmondal

Possibly out of scope, but take it for what it's worth: sometimes you cannot write your mixin using Skelletor, or in Go at all for that matter. In that case, it can be hard to understand what the mixin interface is. When I just started creating mixins I made a bash script that would simply print everything that Porter ran it with (parameters, stdin). I think it would be great to have such a "test" or "debug" mixin, or possibly just the documentation on a script that would do it and the documentation on how to install it.

lbergnehr avatar Nov 21 '24 07:11 lbergnehr