Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor tsp-client to use yargs #8607

Merged
merged 18 commits into from
Aug 6, 2024
Merged

Refactor tsp-client to use yargs #8607

merged 18 commits into from
Aug 6, 2024

Conversation

tjprescott
Copy link
Member

@tjprescott tjprescott commented Jul 11, 2024

This PR converts tsp-client to use yargs instead of node:util for parsing, as it is a full-fledged CLI tool and benefits from the yargs framework.

@tjprescott tjprescott force-pushed the tsp-client/compare branch from ccd6b7b to aa43f20 Compare July 12, 2024 18:45
@tjprescott tjprescott marked this pull request as ready for review July 12, 2024 18:48
Copy link
Member

@catalinaperalta catalinaperalta left a comment

Choose a reason for hiding this comment

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

This looks good :) I think we should wait to merge this until I have the test script checked in to make sure none of the main usage scenarios are broken since this is a pretty big change. Also, since we're changing the generate lock file functionality from a flag to a command we should bump tsp-client version to 0.10.0

tools/tsp-client/src/log.ts Show resolved Hide resolved
tools/tsp-client/src/index.ts Outdated Show resolved Hide resolved
tools/tsp-client/src/index.ts Show resolved Hide resolved
@tjprescott tjprescott merged commit 2cdbfb4 into main Aug 6, 2024
9 checks passed
@tjprescott tjprescott deleted the tsp-client/compare branch August 6, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants