import lazyRequire from '@sanity/util/lib/lazyRequire'

export default {
  name: 'start',
  signature: '',
  description: 'Starts a webserver that serves Sanity',
  action: lazyRequire(require.resolve('../../actions/start/startAction'))
}

@@ -49,16 +49,351 @@
 quire'%0A%0A
+const helpText = %60%0ANotes%0A  Changing the hostname or port number might require a new CORS-entry to be added.%0A%0AOptions%0A  --port %3Cport%3E TCP port to start server on. %5Bdefault: 3333%5D%0A  --host %3Chost%3E The local network interface at which to listen. %5Bdefault: %22127.0.0.1%22%5D%0A%0AExamples%0A  sanity start --host=0.0.0.0%0A  sanity start --port=1942%0A%60%0A%0A
 export d
@@ -432,16 +432,47 @@
 ature: '
+%5B--port %3Cport%3E%5D %5B--host %3Chost%3E%5D
 ',%0A  des
@@ -595,11 +595,23 @@
 ction'))
+,%0A  helpText
 %0A%7D%0A

Add help text for `sanity start` command (#183)