jamonholmgren / bluebun

Bun-powered CLI library, inspired by Gluegun
27 stars 2 forks source link

Gluegun features implemented (or not) in Bluebun #4

Open jamonholmgren opened 11 months ago

jamonholmgren commented 11 months ago

Gluegun API vs Bluebun API

Note that these aren't 1:1 mappings -- the general feature is done, but the APIs are almost all very different.

Also: I'm open to feedback. Chime in.

βœ… Implemented (the parts we want to implement) πŸ‘€ Planned ❌ Not likely to do at all

Feature Gluegun Bluebun Notes
new project generator βœ… πŸ‘€ Working on this
Node Support βœ… ❌ Not planned for the initial release; make your case
toolbox.meta βœ… βœ… Not every bit of info, but the important ones
toolbox.config βœ… πŸ‘€ cosmiconfig-style configuration loading
toolbox.filesystem βœ… πŸ‘€ fs-jetpack -- but only implementing some of the features
toolbox.http βœ… ❌ apisauce -- use fetch if needed (this was more rarely used on Gluegun)
toolbox.packageManager βœ… πŸ‘€ Ability to use npm, yarn, pnpm, or bun from your CLI
toolbox.parameters βœ… βœ… Fairly similar
toolbox.patching βœ… πŸ‘€ This will be one of the more similar APIs to Gluegun
toolbox.print βœ… πŸ‘€ Most of this is implemented
toolbox.prompt βœ… πŸ‘€ Some of this is implemented
toolbox.semver βœ… ❌ Not planned; add semver if you want this
toolbox.strings βœ… πŸ‘€ Perhaps a few of these (like snakeCase, upperCase, lowerCase, etc)
toolbox.system βœ… πŸ‘€ Planned, but going to try to make this better than Gluegun's messy version
toolbox.template βœ… πŸ‘€ Planned; replacing ejs might be interesting
plugins βœ… ❌ Not planned; chime in if you really want this
jakeleboeuf commented 7 months ago

Yeaaa, Selector style Prompt support would be dope πŸ™