Give your URL and folder an alias, and you can open your URL on the browser or open the folder on the file manager through the alias in the future.
npm install -g to-where-cli
- 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 -f
- List existing aliases and addresses
tw list
- Remove an alias from your address
tw rm home
- Show help information
tw -h
- Open the repo, issue, pr address of github
~ tw git open -h
Usage: tw git open [options]
Open github repo page, issues page, pr page, ...etc
Options:
-a, --actions Open actions page (default: false)
--author Open author profile page (default: false)
-c, --commit [commitId] Open commit page
--committer Open committer profile page (default: false)
-f, --file <filePath> Open specific file page
--find Open the search file page (default: false)
-i, --issue Open issues list page (default: false)
-m, --main Open main branch page (default: false)
-p, --pull-request Open pull request list page (default: false)
-r, --release Open release page (default: false)
-s, --settings Open settings page (default: false)
-h, --help display help for command