bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.16k stars 112 forks source link

Leveling up our CLI #409

Open jaredcwhite opened 3 years ago

jaredcwhite commented 3 years ago

Update: see https://github.com/bridgetownrb/bridgetown/issues/409#issuecomment-991376145


There may be opportunities to improve the UX of our command line tooling, and I'd love to explore what we could get out of this gem: https://github.com/Shopify/cli-ui

Frames, multi-selects, spinners, etc. All kinds of groovy stuff.

ayushn21 commented 3 years ago

I was literally thinking about this exact thing earlier today :D

eclectic-coding commented 3 years ago

FYI: TTY Toolkit has a tons of great UI plugins for CLI

armahillo commented 3 years ago

I like this kind of stuff, I'd be down to help on this!

I've used the TTY Toolkit stuff before and had a good experience with it. What features should be covered on the first pass?

jaredcwhite commented 2 years ago

Spinners/progress bars would be nice, for example when a large site's building it could increment some percentage for each step in the pipeline. I could also see multi-select prompts being cool for an interactive new command.

KonnorRogers commented 2 years ago

I second @eclectic-coding 's suggestion of the TTY toolkit. It hooks off of Thor (essentially thor plugins) and wouldnt require as large of a rewrite as something like Shopify CLI.