question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Initiative to work on a CLI solution

See original GitHub issue

Hello!

This morning I had a discussion on twitter with @Rich-Harris and a few others about the UX around the degit starter. Although I do think The REPL approach is great to get immediate exposure, we could benefit from a CLI developers can relate to. The degit approach creates a (small) layer that makes people not want to try Svelte (as well as the instructions page listing a few different ways). “create-react-app” -as suggested by Rich- is an “eject” button that spits out a template hiding lots of specifics about the implementation and not providing much control over the initial template. Another user suggested a Vue-like CLI that does allow for some modifications on the original template. This issue aims to address two things:

  1. I am starting to work on a CLI tool. I’m not sure which repo I should use to work on it since /svelte-cli is dead. *no problem in using that one though

  2. Since the discussion happened on a small corner of twitter, I’d like to extend the discussion to everyone. It makes sense to me (and apparently a few others) to create a tool that newcomers can use to get started with Svelte. That tool can be enhanced to support production-ready projects in the future -unlike the original CLI.

Any help/suggestion is appreciated.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:21
  • Comments:31 (15 by maintainers)

github_iconTop GitHub Comments

6reactions
pngwncommented, Jun 25, 2019

Any CLI must leave the config intact. There are a number of benefits to having a visible bundler config that you can learn from and modify without needing to learn yet another plugin API.

4reactions
magiknonocommented, Aug 27, 2019

I admit that when i tested svelte, i have never heard of word “npx” or “degit” but i had ever play with yarn or npm. i will love a cli for svelte with the simplicity of rails cli and integrated documentation like the elixir cli iex

we can imagine a cli like: svelte new appname --template=webpack --preprocessor="scss" or svelte new appname --template=rollup or with create keyword like react… . and when you launch the cli you can type h function to print doc This is just suggestion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Climate Leadership Initiative (CLI) - Philanthropy for Climate ...
CLI advises donors seeking to make impactful philanthropic investments to help solve the climate crisis and ensure a sustainable future for our planet....
Read more >
Initiatives & Programs
CLI Solutions Group offers training, coaching, online courses, and products developed to strengthen both public and private school programs, ...
Read more >
Collaborative Learning Initiative (CLI)
Through CLI, IFF partners with leaders and their organizations to broaden knowledge, skills, and networks, providing participants with the virtual and emotional ...
Read more >
Climate Leadership Initiative Knowledge Manager, Global ...
With less than 2 percent of global philanthropy investing in climate solutions, the Climate. Leadership Initiative (CLI) was created in 2019 and is...
Read more >
25 Examples of Taking Initiative at Work
As a team, you can show initiative by tackling a problem together, brainstorming creative solutions, and offering your services to a cause inside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found