As shown in the figure, check the space, move the cursor up and down, press enter to confirm
Want to know how
It is rather troublesome to realize one by oneself, but fortunately there are enough “giants’ shoulders” in the open source world to step on.
You can refer to other node open source libraries. such as
yo, in the project initialization function, are provided
Question and answerThis kind of function.
See how they do it.
yoA screenshot of the initialization project