|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|