Skip to content

Conversation

@erunion
Copy link
Member

@erunion erunion commented Dec 2, 2021

🧰 Changes

This updates our help screen generator to be consistent across the main and individual command help screens.

🧬 QA & Testing

Main help

Before

Screen Shot 2021-12-01 at 10 25 18 PM

After

Screen Shot 2021-12-01 at 10 48 10 PM

Command help

Before

Screen Shot 2021-12-01 at 10 26 11 PM

After

Screen Shot 2021-12-01 at 10 26 13 PM

@erunion erunion added the enhancement New feature or request label Dec 2, 2021

describe('cli', () => {
it('command not found', () => {
expect.assertions(1);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed these to use .rejects and .resolves because calling expect.assertions() or expect.hasAssertions() has always been a bit gnar.

Copy link
Contributor

@RyanGWU82 RyanGWU82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼 🎉

Base automatically changed from feat/swap-colors-for-chalk to main December 2, 2021 17:29
Copy link

@julshotal julshotal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like a little boost in readability imo 👌

@erunion erunion merged commit 69fadd3 into main Dec 2, 2021
@erunion erunion deleted the feat/help-consistency branch December 2, 2021 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants