Closed
Description
Raised this in Gitter, but it deserves an issue: should we move svelte-cli into this repo?
We often tell people not to use the CLI, for good reason, but the reality is that it does make sense for some people, and it could be the easiest way to try Svelte out:
echo "<h1>Hello {name}</h1>" > Test.html
npx svelte compile Test.html
That doesn't work at the moment — you'd have to do this, which is much less elegant:
echo "<h1>Hello {name}</h1>" > Test.html
npx svelte --package svelte-cli compile Test.html
We can't not have a CLI, so we should try and at least make it good. Keeping it here would ensure that it was better maintained. And it doesn't add much overhead to the package. I know that the trend for CLIs has generally been in the other direction, but I don't think there's really a good reason for it other than some misplaced sentiment that modularity is more important than user experience.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels