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.
Description
Here we're adding the implementation and unit tests for command
ai:docs
, according to the design outlined in the UX design doc.How to test
Prepare your environment for testing
yarn && yarn build
.Actual testing
./bin/run ai:docs --help
./bin/run ai:docs
and press a key (except 'q') to open your default browser to the Dev Center AI article. Page doesn't exist yet, so expect the page not found webpage to be rendered.HEROKU_AI_DOCS_URL="https://dashboard.heroku.com" ./bin/run ai:docs
, press a key and verify the command respects the env var value and opens Heroku Dashboard URL../bin/run ai:docs
and pressq
when you're prompted to press a key. No page should be open in the browser../bin/run ai:docs --browser safari
(or any other browser you might have installed if Safari is your default browser) and press any key, a new window/tab should be opened in the specified browser to the article URL../bin/run ai:docs --browser whatever
(I'm expecting there isn't a 'whatever' browser in your box :-D) and press any key, an error should be raised indicating you to visit the URL.SOC2 Compliance
GUS Work Item