Skip to content

LancelotLewis/to-where-cli

 
 

Repository files navigation

to-where-cli

Currently only supports macOS, Windows

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 version Build Status install size npm downloads

install

npm install -g to-where-cli

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 -f
  • List existing aliases and addresses
tw list
  • Remove an alias from your address
tw rm home
  • Show help information
tw -h

Extra

  • 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

About

go to any path

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.9%
  • JavaScript 10.1%