-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: Improve CLI output #261
Conversation
Transform CLI tools to TypeScript Add CLI tsconfig file and update build script Fix ESLint types resolution Change argument parser from yargs to commander Add signale logger Add verbose flag Add verbose flag recognition to near-bindgen-exporter
tsconfig.cli.json
Outdated
@@ -0,0 +1,24 @@ | |||
{ |
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.
Why do we need 2 tsconfig files?
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.
@volovyks Because the target folder for the CLI output is different, we could however just leave it under the lib folder and use it from there.
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.
Let's experiment with it in a separate PR. Maybe it's a good idea to move /cli to /src. Build artifacts should live separately.
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.
@petarvujovic98 Looks good overall!
Remove comments Restore builder.c file Update build:cli script to change cli.js to be executable
Move CLI files to lib/cli Move builder to builder folder Change scripts for installation and fix paths in cli.js
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.
Thank you, @petarvujovic98! Great improvement.
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.
Great enhancement to DevX! Thank you @petarvujovic98
Transform CLI tools to TypeScript
Add CLI tsconfig file and update build script
Fix ESLint types resolution
Change argument parser from yargs to commander
Add signale logger
Add verbose flag
Add verbose flag recognition to near-bindgen-exporter
Addresses #227