JSPM

  • Created
  • Published
  • Downloads 39
  • Score
    100M100P100Q68285F

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (to-where-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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 [hash]    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)
      --pull [branch]        Open the page for creating a pull request, the branch defaults to the current branch (default: false)
      -r, --release          Open release page (default: false)
      -s, --settings         Open settings page (default: false)
      --star                 Open star page (default: false)
      -h, --help             display help for command