JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q7695F
  • License MIT

ts2ray cli tool

Package Exports

  • ts2ray-cli

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 (ts2ray-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ts2ray-cli

ts2ray cli tool

Install

$ sudo npm install -g ts2ray ts2ray-cli
# or
$ sudo yarn global add ts2ray ts2ray-cli

How to use

$ ts2sub -h
Usage: index [options]

Options:
  -v, --version      output the current version
  -u, --url <url>    subscription url
  -n, --name <name>  subscription name
  -l, --list         list all subscription information
  -p, --path <path>  output config in path (default: ".")
  -h, --help         display help for command

Example:

$ ts2sub -u <url> -l
* name ip
* name ip
* name ip
$ ts2sub -u <url> -n <name> -p <config path>