Snazzah / slash-up

💻 CLI to view Discord commands and sync commands with slash-create
https://slash-create.js.org
MIT License
15 stars 0 forks source link

Add support for bun.sh #290

Open sudojunior opened 5 months ago

sudojunior commented 5 months ago
  1. Add as a package manager option for the typescript template and apply a patch to the index file to support loading directly as typescript files.
  2. Add a dedicated bun template to the list.

Looking at the code that runs the init command, both options would be rather difficult to implement as there seems to be no avenue to constrain the setup process for a specific template nor a way to prompt for questions about the template and then utilise the responses to decide how it should be done.

Snazzah commented 5 months ago

I'd probably have a bun template and hardcode a skip for that one. Since there is a BunServer now, there can be a specific template with all the Bun stuff.