2018-10-29 22:16:16 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`cli/command builds help text 1`] = `
|
|
|
|
" Usage: nuxt this is how you do it [options]
|
|
|
|
|
2018-11-01 03:53:06 +00:00
|
|
|
a very long description that should not wrap to the next line because is not longer than the terminal width
|
2018-10-29 22:16:16 +00:00
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
--spa, -s Launch in SPA mode
|
|
|
|
--universal, -u Launch in Universal mode (default)
|
|
|
|
--config-file, -c Path to Nuxt.js config file (default: nuxt.config.js)
|
|
|
|
--version Display the Nuxt version
|
|
|
|
--help, -h Display this message
|
|
|
|
--port, -p Port number on which to start the application
|
|
|
|
--hostname, -H Hostname on which to start the application
|
|
|
|
--unix-socket, -n Path to a UNIX socket
|
2018-11-01 03:53:06 +00:00
|
|
|
--foo very long option that is not longer than the terminal width and should not wrap to the next line
|
2018-10-29 22:16:16 +00:00
|
|
|
|
|
|
|
"
|
|
|
|
`;
|
2018-11-02 04:35:32 +00:00
|
|
|
|
|
|
|
exports[`cli/command loads command from name 1`] = `
|
|
|
|
" Usage: nuxt dev <dir> [options]
|
|
|
|
|
|
|
|
Start the application in development mode (e.g. hot-code reloading, error reporting)
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
--spa, -s Launch in SPA mode
|
|
|
|
--universal, -u Launch in Universal mode (default)
|
|
|
|
--config-file, -c Path to Nuxt.js config file (default: nuxt.config.js)
|
|
|
|
--version Display the Nuxt version
|
|
|
|
--help, -h Display this message
|
|
|
|
--port, -p Port number on which to start the application
|
|
|
|
--hostname, -H Hostname on which to start the application
|
|
|
|
--unix-socket, -n Path to a UNIX socket
|
|
|
|
|
|
|
|
"
|
|
|
|
`;
|