GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Fixing issues with commands introduced in #403 by jdalrymple · Pull Request #440 · all-contributors/cli

Conversation

@jdalrymple

@jdalrymple jdalrymple commented Feb 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What: A few issues with the commands were introduced by #403 whereby the config was not loaded where it should have been on the execution of the cli commands.

In addition to fixing this problem, I also:

  1. Cleaned up redundant config loads: Removed duplicate readConfig calls from checkContributors and commit functions
  2. Replaced chalk with yoctocolors: I was seeing some issues with the call to the Chalk.bold function, and since we only use bold and yellow, i looked for an alternative. Yocto is maintained by the same person, and its tiny tiny but perfect our usecase
  3. Improved CLI output formatting: Fixed inconsistent indentation and added proper spacing between sections

Why: Poor testing on my end

How:

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jdalrymple
Fixing issues with commands introduced in commit 7d8c2bf
abd4e93
Also replacing chalk with something lighter weight
@jdalrymple
jdalrymple marked this pull request as ready for review February 14, 2026 20:32
jdalrymple
jdalrymple commented Feb 14, 2026
View reviewed changes
Comment thread src/cli.js
const contributions = argv._[2]

// Add or update contributor in the config file
const data = updateContributors(argv, username, contributions)

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Primary issue

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Also another thing i missed in that original PR. I forgot the await here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lwasser lwasser Feb 14, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Ahh perfect. Justin, we can merge this FIRST, and then I'll rebase my tests pr against it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jdalrymple reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thats what i was thinking!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jdalrymple
jdalrymple commented Feb 14, 2026
View reviewed changes
Comment thread src/cli.js
const argv = getArgs()

// Load and merge config file data into argv
try {

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Secondary issue

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

tldr; Original PR removed the .config prop of the yargs method because the docs mentioned it didnt support async functions.

What i forgot to do apparently, it replace it properly, so the config wasnt loaded like it should have been. This change fixes that correctly by loading the config on execution of the cli command.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lwasser reacted with eyes emoji
All reactions
  • 👀 1 reaction
jdalrymple
jdalrymple commented Feb 14, 2026
View reviewed changes
Comment thread src/cli.js
chalk.bold('Missing contributors in .all-contributorsrc:\n'),
YoctoColors.bold('Missing contributors in .all-contributorsrc:\n'),
)
process.stdout.write(` ${missingInConfig.join(', ')}\n`)

@jdalrymple jdalrymple Feb 14, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

We were indenting missing members, but not unknown members. It looked weird, so i removed the indent

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lwasser reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@jdalrymple
Linting
1dcd956
This was referenced Feb 14, 2026
chore: Remove dependency on lodash #421
Merged
tests: add tests to addContribution #439
Open
test(prompt.js): enhance prompt.js test coverage #438
Merged
lwasser
lwasser approved these changes Feb 14, 2026
View reviewed changes

@lwasser lwasser left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@jdalrymple, everything here looks good to me, and it runs locally 🎉 🎉 You also simplified the configData /. argv load complexity, which works well, and the config params load locally as expected!
Because we are introducing a different dependency, I just want @JoshuaKGoldberg to have a look, but the CLI runs great with this pr.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jdalrymple reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@lwasser

lwasser commented Feb 14, 2026

Copy link
Copy Markdown
Member

@all-contributors please add @jdalrymple code, bug

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@allcontributors

allcontributors Bot commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

@lwasser

@jdalrymple already contributed before to code, bug

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lwasser

lwasser commented Feb 19, 2026

Copy link
Copy Markdown
Member

Ok, let's merge this @jdalrymple only because it's blocking a few other pr's and I'd love to continue to work on tests. We can always re-evaluate the dependency update, but as far as I can tell, it's a smaller package and doens't impact how the CLI works, just color ranges, etc. Thank you again for it!!

jdalrymple reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lwasser
lwasser merged commit 797e167 into all-contributors:main Feb 19, 2026
4 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@JimMadge

JimMadge commented Feb 19, 2026

Copy link
Copy Markdown
Member

Just noting here that we are probably missing some contribution acknowledgements for @jdalrymple.

@jdalrymple you have been quite active, would you like to join the maintainer team?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jdalrymple
jdalrymple deleted the fix/address-errors-in-add-command branch February 19, 2026 15:17
@lwasser

lwasser commented Feb 20, 2026

Copy link
Copy Markdown
Member

Heya @JimMadge 👋🏻 Please do add Justin for any contributions we've missed!!
Screenshot 2026-02-19 at 7 08 17 PM

I added them to our maintainer team and org, but I just noticed the invitation expired (7 days ago), so I reopened it. I don't think we can add a maintainer to a team until they are an org member. What I realized when I saw this post is that I didn't do it publicly - it was kind of like what you did here in an issue. Should we create a process for notifying the team? maybe in a discussion? There is so much to do here, and I just thought Justin would be an awesome addition, with the goal that it's ok if we all get busy at times, because our team is large enough to support that. ✨

jdalrymple reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lwasser lwasser mentioned this pull request Feb 21, 2026
chore(main): release 6.26.2 #451
Closed
This was referenced Mar 6, 2026
chore(main): release all-contributors-cli 7.0.0 #476
Closed
chore(main): release 6.27.0 #483
Closed
This was referenced Oct 23, 2026
chore(main): release 6.27.0 #581
Closed
chore(release): release 7.0.0 #583
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lwasser lwasser lwasser approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@jdalrymple @lwasser @JimMadge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.