statamic / cli

Install and manage your Statamic projects from the command line.
71 stars 19 forks source link

Update for new starter kits #31

Closed jesseleite closed 3 years ago

jesseleite commented 3 years ago
jasonvarga commented 3 years ago

Instead of a yaml file with the starter kits, can't we pull them from the marketplace?

jackmcdade commented 3 years ago

@jasonvarga Yes please. In fact, we should probably just point them to the Marketplace instead of trying to populate the list of them here. For now it's just a few, but in a few weeks/months there could be dozens. It'll be easier to cut it off now rather than later.

jasonvarga commented 3 years ago

So you want to remove this screen? Just make it a regular text input?

image

jackmcdade commented 3 years ago

Maybe? What options do we have that don't involve simply listing all possible kits?

jasonvarga commented 3 years ago

Some kind of search maybe... But that seems silly on the cli.

We could do autocompletion though.

jackmcdade commented 3 years ago

Maybe we do a prompt – like...

What do you want to do?
[0] Start with the default empty site
[1] Use a Starter Kit

And then if they pick [1]...

Enter the name of the Starter Kit (find them at statamic.com/stater-kits):
> autocomplete field
jasonvarga commented 3 years ago

We can do that.

jackmcdade commented 3 years ago

8ukb

jesseleite commented 3 years ago

There we go! We can do the autocomplete later though.

image