A Rust implementation of the touch command (for Windows, mostly...). It's not trying to replace touch
from a Unix or Linux system, but just brings the functionality (and familiarity) to the Windows PowerShell.
- Install Rust: see steps for Windows
- Make sure it is setup correctly with the following command in your PowerShell:
rustc --version
- Clone the repository to the location of your choice:
PS> git clone git@github.com:srbdev/touch.git && cd touch
PS> cargo install --path .
- Open a new PowerShell terminal, and check that it installed correctly:
PS> touch -h
To run the application locally as part of the development process, use the following command:
% cargo run -- [ARGS]
where [ARGS]
are the options and arguments for the command line utility, e.g. cargo run -- -h
or cargo run -- --version
.