castor icon indicating copy to clipboard operation
castor copied to clipboard

feat(command-builder): introduce CommandBuilderInterface to allow writing a command with a better DX

Open joelwurtz opened this issue 1 year ago • 4 comments

This introduce a new feature, allowing user or plugin creator to create proxy for command which goal is to provide a nice DX around a specific binary which remove having to know how the binary works and add type checking to it for validation.

There is an example with the ls binary

joelwurtz avatar Jun 13 '24 08:06 joelwurtz

I renamed it to CommandBuilderInterface since it does not have the run anymore, instead this interface can be passed to the run function

joelwurtz avatar Jun 20 '24 07:06 joelwurtz

I added the doc, could be merged if it's good for you

joelwurtz avatar Jul 16 '24 15:07 joelwurtz

Any update ?

joelwurtz avatar Aug 01 '24 09:08 joelwurtz

Could you add a note in the changelog?

lyrixx avatar Aug 06 '24 12:08 lyrixx

done

joelwurtz avatar Aug 14 '24 09:08 joelwurtz

Thanks

pyrech avatar Aug 14 '24 10:08 pyrech