DEV Community


VSCode task, to give a option to name a file.

yobretyo profile image Bret ・1 min read

How do you create a terminal/console, “question/ prompt” to name a file? Like Test.JS? I have a task setup to create a folder and JS file, but I have to rename it after, so how do I add a “question” of what to name it?


Editor guide