Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As we heard from @CAYdenberg in #1187 (comment), the Getting started tutorial is currently a bit tedious in that it walks you through what are already very clear prompts in the terminal. This truncates the walk-through to provide only a bit of context (e.g., “accept the default values”) and the output on success (for confirmation).
I’ve also added a small intro message to the
create
command so that there’s a little more context when you runnpm init @observablehq
, including a link back to the Getting started tutorial:I changed the “Problems?” link to point to our discussions rather than the tutorial (since chances are you are already following the tutorial, and the tutorial won’t be much help if the command didn’t work, anyway).
I tweaked the first two prompts:
I changed the default path to be
./hello-framework
to hint that it can be a relative path and not just a simple name in the current directory. This reverts #1135 but shows the correct path on Windows, which should address the point raised in #1134.I also changed the
convert
,deploy
, andlogin
commands to display the Framework version number, matching thecreate
command.