DEV Community

loading...

Read CLI command output in VSCode

virtualkirill profile image Kirill Vasiltsov Updated on ・1 min read

VSCode can read from stdin. You need to use - flag to do it.

[command] --help | code -
Enter fullscreen mode Exit fullscreen mode

Example:

node --help | code -
Enter fullscreen mode Exit fullscreen mode

Discussion (0)

Forem Open with the Forem app