0.0.1 • Published 5 years ago
create-symlink-cmd v0.0.1
#create-symlink-cmd
It's a wrapper around this package, which is cross-platform utility for making symlinks. I needed this to produce cmd-shim on windows systems.
This can be used like
npx create-symlink-cmd <target path> <symlink path> <type>
Where type
could be:
- Windows:
1) omitted - script produces .ink file
2)
exec
- script produces cmd-shim. *Nix:
fs.symlink do the job. If type argument is
exec
it become replaced byfile
.
Package consists of single line of code:
require('@lerna/create-symlink')(...process.argv.slice(2));
MIT
0.0.1
5 years ago