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

node开发cli | idkhts's blog #20

Open
IDKHTS opened this issue Jul 31, 2021 · 0 comments
Open

node开发cli | idkhts's blog #20

IDKHTS opened this issue Jul 31, 2021 · 0 comments

Comments

@IDKHTS
Copy link
Owner

IDKHTS commented Jul 31, 2021

https://idkhts.github.io/2021/01/19/node%E5%BC%80%E5%8F%91cli/

使用一个公司,大概率上,会定义很多开发规则,而且在开发习惯上也会有很多相似的地方。这样每个项目类似的目录结构和配置。每一次搭建新项目就需要重新写一遍,这即“重复性工作”。为了减少这些“重复性工作”,cli(command line interface)出现,少量的参数即可自动搭建出一个项目雏形。著名的CLI有vue-cli,create-react-app等 利用node的npm来实现一个cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant