Suggesting to make the -n flag optional, to closer match the behaviour of the code CLI command of VS Code. This allows creating new files with fewer keystrokes.
Additionally, tweaked the code so that multiple new files could be created at once:
$ ls
$ cot new1.md new2.md
$ ls
new1.md new2.md
The new CLI interface allows mixing existing and new file paths. Existing files won't be overridden, unless the -n flag is passed.
Suggesting to make the
-n
flag optional, to closer match the behaviour of thecode
CLI command of VS Code. This allows creating new files with fewer keystrokes.Additionally, tweaked the code so that multiple new files could be created at once:
The new CLI interface allows mixing existing and new file paths. Existing files won't be overridden, unless the
-n
flag is passed.