create-symlink-cmd

0.0.1 • Public • Published

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 by file.

Package consists of single line of code:

require('@lerna/create-symlink')(...process.argv.slice(2));

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i create-symlink-cmd

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

10.6 kB

Total Files

7

Last publish

Collaborators

  • redsool