Skip to content

junip/switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

switch

forthebadge forthebadge forthebadge

npm made with nodejs styled with prettier license PRs Welcome

Motivation

We often need to switch among different projects and it becomes hectic to change workspace or remember your workspace path so that you can instanly change to a different workspace from one workspace.

So the goal of this project is to minimize the effort of workspace change with tab's autocomplete or remembering project path. Meanwhile it gives you the flexibility to instantly switch among your dependent project/directory and do the necessary stuff in your terminal.

Forget typing cd .. & tab autocompletion or adding aliases for directories.

Install using NPM

You can use directly install the package using NPM or YARN

 npm install -g switchd
 yarn add switchd

use the below command to get started

 npx switchd

Or By Cloning the repository

Install all dependency

npm install 

Create the symlink. This command will help you execute switch commands at global level

npm link or sudo npm link

After install

Run the following

To get the available commands

switch --help 

You need to add directory name & directory path first to start with.While adding directory give the full path using pwd

switch -a

After adding switch to any workspace on the fly

switch -d

Contribution

We hope that you will consider contributing to switch. Please read this short overview Contribution Guidelines for some information about how to get started

MIT License

switch is available under the MIT license. See the LICENSE file for more info.

Copyright (c) 2019 junipd2@gmail.com

About

😎 πŸ’» Switch workspaces on the fly πŸš€

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published