Introduce CLI health and shell setup in Getting Started - #17
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Background
Getting Started stopped after the first render and formatting loop. The released CLI also provides read-only installation diagnosis, configuration discovery, shell completion generation, and an offline manual, but new users could only discover them through a final link.
Implementation Approach
stack doctorandstack config path.stack manpage.Testing Approach
npm run generatenpm test(22 tests)npm run checknpm run machine:checkSTACK_CLI_BIN=/absolute/path/to/stack npm run smokeagainst the published CLI 0.5.2Review Perspectives / Points of Concern
Please verify that the added commands are useful immediately after first render, that they do not imply automatic dotfile changes, and that the four translations preserve identical command blocks.