Giter Club home page Giter Club logo

reg's Introduction

Reg is simple tool for bash alias management

INSTALLATION

to install reg manually you can pull or download zip file and run installer.sh by this command

bash installer.sh

DESCRIPTION

reg is a small command-line bash program alias management. it requires the bash interpreter (almost unix os have it already). you can use reg like this:

reg add "pull" "git pull origin master" "vagrant provision" "gulp build"

for add alias you can use this command:

reg add [alias name] [command 1] [command 2] [command n]

for remove alias:

reg remove [alias name]

for show alias

reg list [alias name] [-num]

for call alias:

reg [alias name]

or

reg [alias name] [-s / -t] [command 1] [command 2] [command n]

you can use alias standalone.

for add alias as standalone (not recommended)

reg alias [alias name] [alias value]

for remove alias as standalone (not recommended)

reg alias -d [alias name]

for add env variable

reg env [env name] [env value]

for remove env variable

reg env -d [env name]

for reload bashrc

reg reload    

reg has group alias, it means you can put many command as single alias name.

for example you can define this alias group

reg add "pull" "git pull origin master" "vagrant provision" "gulp build"

and you can use like this:

reg "pull"

or you can select specific command from alias group for example:

reg "pull" -s "2,3"

it's mean you only run first command in this example it is

"git pull origin master"

you skiped command 2 and 3

this documentation will complete in future

reg's People

Contributors

devlifex avatar

Stargazers

Ihor Vorotnov avatar

Watchers

 avatar

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.