designsystemsinternational / mechanic

Mechanic is a framework to build assets built on web code.
https://mechanic.design
MIT License
251 stars 11 forks source link

Better default names when creating new functions #106

Open bravomartin opened 2 years ago

bravomartin commented 2 years ago

Currently, when users generate a new function from a template, the default function name is always my-function.

It would be nice that the default function name is always based on the selected template/example. This will be particularly useful when running through demos or when beginners are trying it for the first time.