6.0.2 • Published 6 months ago

cmd-shim v6.0.2

Weekly downloads
923,852
License
ISC
Repository
github
Last release
6 months ago

cmd-shim

The cmd-shim used in npm to create executable scripts on Windows, since symlinks are not suitable for this purpose there.

On Unix systems, you should use a symbolic link instead.

Build Status Dependency Status npm version

Installation

npm install cmd-shim

API

cmdShim(from, to) -> Promise

Create a cmd shim at to for the command line program at from. e.g.

var cmdShim = require('cmd-shim');
cmdShim(__dirname + '/cli.js', '/usr/bin/command-name').then(() => {
  // shims are created!
})

cmdShim.ifExists(from, to) -> Promise

The same as above, but will just continue if the file does not exist.

@lerna/create@lerna/create-symlinklerna@megasaur/create-symlink@essent/lernakilli8n-react-native-fast-image@cashremit/cr-streamline-iconsadaption-toolkyle-cli-xhcogoportutils@mink-opn/build-tokens@infinitebrahmanuniverse/nolb-cmd@everything-registry/sub-chunk-1343@fromage/cli@fuc/cli-utilszjianfangzjianfang-cliwinx-form-winxwangshanbo-cliyapmyarn-fathybyarnpkgyarn-zeoyss-perseus@growing-web/web-builder-kit@ghnacker/bin-links@marinaga/bananizezzzxxxyyy321123wedmasterwuchuan@juturu/yarn@kuinox/testpackagethatnooneshoulduse@kuinox/testpackagethatnooneshoulduseever@lerna/legacy-package-management@liuli-util/cmd-shim@houshuang/yarn@mgcrea/yarnfinboxio-yarnfixed_form_builderfirst-app-lyfuci@mcesystems/lerna@mrauhu/npm@ndelangen/lerna@nkduy/cligh-monoproject-cli@nodepack/cligentle-fsgit-branching-workflow@lbatchelor/bolt@rxdi/bolt@remark/hercules@easymetrics/micromanager@parallelnft/web3modal@opn-ooo/eslint-config-opn@react-plus-cli/cli@positionex/position-sdk@jasonssun/npm@jetbrains/lernahubot-buda@phenixs/cli@rcag/clijameslinenode.js1@erquhart/lerna-create-symlinkjivf-clijmpr-jpm@expo/lerna@salomvary/npm@egret/link-node-moduleshandy-utils-shared@soyjak/utilsjynpminstall@spreact/cli-shared-utils@spryker-lerna/create-symlink@stem/lernakbn@buganto/clientnaver-npmboltbolt-yarn-supportedasini@bcoe/lernamock-binmodinst@beisen/npmlocal-package-storeluojia-cli-devcandlelabssdk@cognistreamer/lerna-windows-compatnpmcchimyranot-bundled-npmnpm-prognpm-msys2nst-clinpm5npm2npm5vnpminstall-1@atlaskit/lernamiscible
6.0.2

6 months ago

6.0.1

1 year ago

6.0.0

2 years ago

5.0.0

2 years ago

4.1.0

3 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.2

8 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.2

10 years ago

1.1.1

11 years ago

1.0.1

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago