Skip to content

Commit

Permalink
feat: Improve CLI output (#261)
Browse files Browse the repository at this point in the history
* feat: Improve CLI output

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

* fix: Ignore CLI folder for lints

* fix: Ignore CLI folder for formatting

* chore: Remove old files

* fix: Remove copied files

* fix: Update .gitignore

* fix: Fix building

Remove comments
Restore builder.c file
Update build:cli script to change cli.js to be executable

* feat: Restructure files

Move CLI files to lib/cli
Move builder to builder folder
Change scripts for installation and fix paths in cli.js

* chore: Remove unused files

Co-authored-by: Serhii Volovyk <SergeyVolovyk@gmail.com>
  • Loading branch information
petarvujovic98 and volovyks authored Oct 13, 2022
1 parent dc6f07b commit 8f676ae
Show file tree
Hide file tree
Showing 25 changed files with 1,750 additions and 1,414 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
env: {
Expand Down Expand Up @@ -41,6 +42,8 @@ module.exports = {
"build",
"./**/deps",
"deps",
"cli/**/*.ts",
"cli/**/*.js",
],
rules: {},
};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
yarn-error.log
vendor
.idea
deps
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ deps
build
node_modules
lib
cli

Loading

0 comments on commit 8f676ae

Please sign in to comment.