From e2068300241f3de9ac2e87be18c8b684b5c016b0 Mon Sep 17 00:00:00 2001 From: arafatiqbal Date: Mon, 12 Dec 2022 23:28:54 -0800 Subject: [PATCH] Add all command line options for ember test, serve, and generate --- guides/appendix/configuration.md | 66 +++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/guides/appendix/configuration.md b/guides/appendix/configuration.md index 81a8afd..7618cc8 100644 --- a/guides/appendix/configuration.md +++ b/guides/appendix/configuration.md @@ -25,8 +25,6 @@ Every development environment will be different but a realistic example setting } ``` -For a complete list of command line options run `ember help`. - ### `package.json` Configuration Some configuration is exposed through your `package.json` file. @@ -41,3 +39,67 @@ If you have a nested repo structure (e.g., a monorepo using yarn workspaces) and } } ``` + +### List of command line options for: + +### `ember generate ` + +```shell + --dry-run (Boolean) (Default: false) + --verbose (Boolean) (Default: false) + --pod (Boolean) (Default: false) + --classic (Boolean) (Default: false) + --dummy (Boolean) (Default: false) + --in-repo-addon (String) (Default: null) + --in (String) (Default: null) Runs a blueprint against an in repo addon. A path is expected, relative to the root of the project. +``` + +### `ember serve ` + +```shell + --port (Number) (Default: 4200) To use a port different than 4200. Pass 0 to automatically pick an available port. + --host (String) Listens on all interfaces by default + --proxy (String) + --proxy-in-timeout (Number) (Default: 120000) When using --proxy: timeout (in ms) for incoming requests + --proxy-out-timeout (Number) (Default: 0) When using --proxy: timeout (in ms) for outgoing requests + --secure-proxy (Boolean) (Default: true) Set to false to proxy self-signed SSL certificates + --transparent-proxy (Boolean) (Default: true) Set to false to omit x-forwarded-* headers when proxying + --watcher (String) (Default: events) + --live-reload (Boolean) (Default: true) + --live-reload-host (String) Defaults to host + --live-reload-base-url (String) Defaults to baseURL + --live-reload-port (Number) Defaults to same port as ember app + --live-reload-prefix (String) (Default: _lr) Default to _lr + --environment (String) (Default: development) Possible values are "development", "production", and "test". + --output-path (Path) (Default: dist/) + --ssl (Boolean) (Default: false) Set to true to configure Ember CLI to serve using SSL. + --ssl-key (String) (Default: ssl/server.key) Specify the private key to use for SSL. + --ssl-cert (String) (Default: ssl/server.crt) Specify the certificate to use for SSL. + --path (Path) Reuse an existing build at given path. +``` + +### `ember test ` + +```shell + --environment (String) (Default: test) Possible values are "development", "production", and "test". + --config-file (String) + --server (Boolean) (Default: false) + --host (String) + --test-port (Number) (Default: 7357) The test port to use when running tests. Pass 0 to automatically pick an available port + --filter (String) A string to filter tests to run + --module (String) The name of a test module to run + --watcher (String) (Default: events) + --launch (String) (Default: false) A comma separated list of browsers to launch for tests. + --reporter (String) Test reporter to use [tap|dot|xunit] (default: tap) + --silent (Boolean) (Default: false) Suppress any output except for the test report + --ssl (Boolean) (Default: false) Set to true to configure testem to run the test suite using SSL. + --ssl-key (String) (Default: ssl/server.key) Specify the private key to use for SSL. + --ssl-cert (String) (Default: ssl/server.crt) Specify the certificate to use for SSL. + --testem-debug (String) File to write a debug log from testem + --test-page (String) Test page to invoke + --path (Path) Reuse an existing build at given path. + --query (String) A query string to append to the test page URL. + --output-path (Path) +``` + +For a complete list of command line options and aliases run `ember help`.