varabyte / kobweb

A modern framework for full stack web apps in Kotlin, built upon Compose HTML
https://kobweb.varabyte.com
Apache License 2.0
1.46k stars 65 forks source link

`kobweb list` should have a way to prioritize some results #116

Closed bitspittle closed 2 years ago

bitspittle commented 2 years ago

Currently, the output of kobweb list is:

You can create the following Kobweb projects by typing `kobweb create ...`

• examples/clock: A canvas demo using the Mozilla animated clock canvas tutorial
• examples/jb/counter: A very minimal site with just a counter (based on the Jetbrains tutorial)
• examples/responsive: A demo showcasing responsive widgets / layouts (WIP)
• examples/todo: An example TODO app, showcasing client / server interactions
• site: A template for a minimal site that demonstrates the basic features of Kobweb
• site/empty: A template for an empty skeleton to build a Kobweb app upon

but kobweb create site is probably the one I want new people to try first. There should be a way to mark its template.yaml file in such a way that kobweb list sorts it first. Maybe...

You can create the following Kobweb projects by typing `kobweb create ...`

Recommended:

• site: A template for a minimal site that demonstrates the basic features of Kobweb
• site/empty: A template for an empty skeleton to build a Kobweb app upon

All:

• examples/clock: A canvas demo using the Mozilla animated clock canvas tutorial
• examples/jb/counter: A very minimal site with just a counter (based on the Jetbrains tutorial)
• examples/responsive: A demo showcasing responsive widgets / layouts (WIP)
• examples/todo: An example TODO app, showcasing client / server interactions
• site: A template for a minimal site that demonstrates the basic features of Kobweb
• site/empty: A template for an empty skeleton to build a Kobweb app upon
bitspittle commented 2 years ago

This was fixed with 6667b779bb4ed360c10739fa586b243ca07d73ae