I would like to add a textstring to an existing file with the command line. I’m working on a windows 10 machine.
With the cmd.exe I’m already in the sublime-folder.
I’m trying this:
subl test.js --comand insert hello
But it is not inserting hello to the file test.js. This command opens test.js and is creating a new file with the name hello.
What I’m doing wrong?