/touch

Window simplementation of the touch command

Primary LanguageTypeScriptMIT LicenseMIT

Touch

An implementation of the touch command for windows. Paths are relative to the working directory and will be created if they do not exist.

Installation

npm i -g @tristanwritescode/touch

Usage

c:\source\demo>touch some/path.ts some-other-path/file.ts 
File created:
 'C:\Source\Demo\some\path.ts'
File created:
 'C:\Source\Demo\some-other-path\file.ts'