Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

serkonda7/symlinker-v

Repository files navigation

symlinker

CI

Small and lightweight CLI utility tool to create and manage symlinks in the PATH.

Installation

You can download the latest stable release here.

OR build symlinker from source. In this case you need to install V first.

git clone https://github.com/serkonda7/symlinker.git
cd symlinker
v .

Now run sudo ./symlinker link -m ./symlinker and you are finished.

Note: At the moment only Linux is supported.

Usage

Usage: symlinker [command] [flags] [arguments]

Flags:
  -m, --machine          Execute the command machine-wide.

Commands:
  link <file>            Create a new symlink to <file>.
    -n, --name <name>      Use a custom name for the link.
  del <link1> <...>      Delete all specified symlinks.
  list                   List all symlinks.
    -r, --real             Also print the real path each symlink points to.
  update <link>          Rename a symlink or update it's real path. Use at least one of the flags.
    -n, --name <name>      The new name for the link.
    -p, --path <path>      The new path that will be linked.
  open [link]            Open a specific symlink or the general root dir in the file explorer.
  help [command]         Prints help information.
  version                Prints version information.

License

Licensed under the MIT License