Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename CLI to svelte-kit #183

Closed
Rich-Harris opened this issue Nov 27, 2020 · 6 comments · Fixed by #186
Closed

Rename CLI to svelte-kit #183

Rich-Harris opened this issue Nov 27, 2020 · 6 comments · Fixed by #186
Labels

Comments

@Rich-Harris
Copy link
Member

I think maybe the CLI should be svelte-kit rather than svelte, i.e. svelte-kit dev, svelte-kit build etc

@Rich-Harris Rich-Harris added this to the public beta milestone Nov 27, 2020
@benmccann
Copy link
Member

Maybe just kit? It would be shorter and easier to type.

@Rich-Harris
Copy link
Member Author

Most of the time you wouldn't be typing it because it would be hidden behind npm run scripts, so I guess it comes down to whether we think the benefit of the shorter name for npx users outweighs the benefit of being more explicit

@Conduitry
Copy link
Member

I guess it comes down to whether we want to divorce svelte from svelte-kit in people's minds. I'm in general favor of making this a bit more explicit to everyone, if only to make it slightly more likely that issues end up in the right repo. Semi-squatting on kit seems mildly gauche, even though we'd never be encouraging people to install the CLI globally. (At least I hope we're not.) svelte-kit seems reasonable. I don't think people are going to be calling it much outside of npm run scripts. If it's a one-off thing, it's not a big deal. If it's not a one-off thing, it should be a run script.

@benmccann
Copy link
Member

Ah right. I forgot about the npm thing. svelte-kit makes sense to me then. I agree it makes sense to use something other than svelte

@rixo
Copy link

rixo commented Nov 27, 2020

Indeed, I would sincerely expect a svelte command to run the Svelte compiler.

Confusion to newcomers would probably be maximal, and they would end up in the wrong repo / site when searching docs about the svelte command.

And also, marrying svelte and svelte-kit in people's minds would leave fewer space for other Svelte-based frameworks to flourish, if many people think Svelte itself is the framework.

@Rich-Harris
Copy link
Member Author

cool, sounds like we have a quorum. will merge #186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants