Giter VIP home page Giter VIP logo

symlinker-v's Introduction

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

symlinker-v's People

Contributors

serkonda7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ajunlonglive

symlinker-v's Issues

Command to update symlinks

Add a new command like symlinker update <curr_name> --name <new_name> --path <new_path>
to update or rename existing links.

cd command

sl cd <link> changes the terminal working dir to the dir of the linked file.

Create tests

Command methods

  • create_link

  • delete_link

- [ ] list_links

- [ ] update_link

- [ ] open_links

Internal stuff
- [ ] get_scope

  • scope_by_dir

  • get_dir

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.