dsherret / dax

Cross-platform shell tools for Deno and Node.js inspired by zx.
MIT License
1.05k stars 35 forks source link

Feature request: Pluggable commands #7

Closed pocketken closed 2 years ago

pocketken commented 2 years ago

It would be really handy if we could extend the shell command parser out with support for additional, user-defined commands. For my current use case, for example, it'd be great to be able to provide Deno-based drop-ins for things like gzip, tar and so on, but you probably don't want every possible command under the sun within dax itself...?

I know our vet has complained about my cats getting a little too fat, anyway...

dsherret commented 2 years ago

I like that idea and I think it plays well with the CommandBuilder https://github.com/dsherret/dax#commandbuilder and custom $.

dsherret commented 2 years ago

Implemented in #8.