update remix usage

pull/2456/head
Aniket-Engg 3 years ago
parent 3f34cfb1cf
commit 0924205609
  1. 9
      libs/remixd/src/bin/remixd.ts

@ -60,13 +60,12 @@ function errorHandler (error: any, service: string) {
program.version(version, '-v, --version')
program
.usage('-s <shared folder>')
.description('Provide a two-way connection between the local computer and Remix IDE')
.option('-u, --remix-ide <url>', 'URL of remix instance allowed to connect to this web sockect connection')
.option('-s, --shared-folder <path>', 'Folder to share with Remix IDE')
.description('Establish a two-way websocket connection between the local computer and Remix IDE for a folder')
.option('-u, --remix-ide <url>', 'URL of remix instance allowed to connect')
.option('-s, --shared-folder <path>', 'Folder to share with Remix IDE (Default: CWD)')
.option('-r, --read-only', 'Treat shared folder as read-only (experimental)')
.on('--help', function () {
console.log('\nExample:\n\n remixd -s ./ -u http://localhost:8080')
console.log('\nExample:\n\n remixd -s ./shared_project -u http://localhost:8080')
}).parse(process.argv)
// eslint-disable-next-line

Loading…
Cancel
Save