Azure / azure-webpubsub

Azure Web PubSub Service helps you to manage WebSocket connections and do publish and subscribe in an easy way
https://azure.github.io/azure-webpubsub/
MIT License
135 stars 85 forks source link

Implement npm tool command interface #612

Closed vicancy closed 1 year ago

vicancy commented 1 year ago
Usage: awps-tunnel [options] [command]

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  status
  bind [options]
  run [options]
  help [command]  display help for command
Usage: awps-tunnel status [options]

Options:
  -h, --help  display help for command
Usage: awps-tunnel bind [options]

Options:
  -e, --endpoint <endpoint>  Sepcify the Web PubSub service endpoint URL  
                             to connect to
  --hub <hub>                Specify the hub to connect to
  -u, --upstream <upstream>  Specify the upstream URL to connect to       
  -h, --help                 display help for command
Usage: awps-tunnel run [options]

Options:
  -e, --endpoint <endpoint>  Sepcify the Web PubSub service endpoint URL  
                             to connect to, you don't need to set it if   
                             WebPubSubConnectionString environment        
                             variable is set. If both are set, this       
                             option will be used.
  --hub <hub>                Specify the hub to connect to
  -u, --upstream <upstream>  Specify the upstream URL to redirect traffic 
                             to
  -h, --help                 display help for command