feat: Adds support for options to CLI and improves usability (#586)

* Improved UX of CLI

* Updated docs and setup tutorial

* Corrected version number in TODO comments

* Downgraded lock file version

* Restored previous lock file

* Removed --keep-output-type option

* Switch to using async IO to avoid problems stdin in some scenarios

https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input

https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input

* Addressed feedback from code review

* Changed to curl-like systax for specifing inputs as literals, paths or stdin

---------

Co-authored-by: Daniel Rosenberg <[email protected]>
This commit is contained in:
Daniel Rosenberg
2023-02-14 22:03:00 +08:00
committed by GitHub
co-authored by Daniel Rosenberg
parent a6618538d1
commit 24c8a1e372
5 changed files with 179 additions and 26 deletions
+4 -2
View File
@@ -111,6 +111,9 @@
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^4.5.3"
},
"dependencies": {
"commander": "^10.0.0"
},
"release": {
"branch": "master",
"plugins": [
@@ -160,6 +163,5 @@
"pre-commit": "npm run check",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {}
}
}