ln-cli

Create or delete symlinks using glob

Usage no npm install needed!

<script type="module">
  import lnCli from 'https://cdn.skypack.dev/ln-cli';
</script>

README

ln-cli Build Status

Create or delete symbolic link using glob

Install

$ npm install --global ln-cli

Usage

$ ln-cli --help

  Create or delete symlinks using glob

  Usage
    $ ln-cli <FILEs|glob> [options]

  Options
    -D, --delete            Delete symlinks
    -f, --force             Overwrite symlinks if it exists
    -d, --dry-run           List what would be created or deleted instead of creating or deleting
        --path              Destination symlinks FILEs [Type: `string`]
        --version           Display the version and exit
        --help              Display this message and exit

  Examples
    $ ln-cli 'dotfiles/*' '!dotfiles/.git' --path '/home/<username>'
    $ ln-cli '/home/<username>/.*' --delete

Related

License

MIT © Guntur Poetra