Use the alias mechanism to help you open obscure URLs that are hard to remember. Helps you to open various addresses of github repositories, straight to the search page of npm, google and other sites.
Features
Install
npm install -g to-where-cli
Basic usage
Add an alias to your address
tw add home https://github.com/skypesky
Open address by alias
tw home
Update the address of the alias
tw add home https://github.com/skypesky/leetcode-for-javascript
List existing alias home
tw ls home
Remove an alias from your address
tw rm home
Show help information
tw -h
Advance usage
tw git
tw git #Open the address of the current branch
tw git -c #Open the commit page for a given SHA hash.
tw git -i #Open the issues list page (default: false).
tw git -p #Open the pull request list page (default: false).
tw git --star #Open the star page (default: false).
tw npm
#Go straight to the npm search page and search for the keyword to-where-cli
tw npm to-where-cli
tw github
#Go straight to the github search page and search for the keyword to-where-cli
tw github to-where-cli
tw google
#Go straight to google's search page and search for the keyword to-where-cli
to google "skypesky to-where-cli"
tw bing
#Go straight to bing's search page and search for the keyword to-where-cli
to bing to-where-cli
tw baidu
#Go straight to baidu's search page and search for the keyword to-where-cli
to baidu to-where-cli
If you want to know more about the usage, please refer to the subsequent tutorials.