Skip to content

Commit e206830

Browse files
committed
Add all command line options for ember test, serve, and generate
1 parent fa0831f commit e206830

File tree

1 file changed

+64
-2
lines changed

1 file changed

+64
-2
lines changed

guides/appendix/configuration.md

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Every development environment will be different but a realistic example setting
2525
}
2626
```
2727

28-
For a complete list of command line options run `ember help`.
29-
3028
### `package.json` Configuration
3129

3230
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
4139
}
4240
}
4341
```
42+
43+
### List of command line options for:
44+
45+
### `ember generate <blueprint> <options...>`
46+
47+
```shell
48+
--dry-run (Boolean) (Default: false)
49+
--verbose (Boolean) (Default: false)
50+
--pod (Boolean) (Default: false)
51+
--classic (Boolean) (Default: false)
52+
--dummy (Boolean) (Default: false)
53+
--in-repo-addon (String) (Default: null)
54+
--in (String) (Default: null) Runs a blueprint against an in repo addon. A path is expected, relative to the root of the project.
55+
```
56+
57+
### `ember serve <options...>`
58+
59+
```shell
60+
--port (Number) (Default: 4200) To use a port different than 4200. Pass 0 to automatically pick an available port.
61+
--host (String) Listens on all interfaces by default
62+
--proxy (String)
63+
--proxy-in-timeout (Number) (Default: 120000) When using --proxy: timeout (in ms) for incoming requests
64+
--proxy-out-timeout (Number) (Default: 0) When using --proxy: timeout (in ms) for outgoing requests
65+
--secure-proxy (Boolean) (Default: true) Set to false to proxy self-signed SSL certificates
66+
--transparent-proxy (Boolean) (Default: true) Set to false to omit x-forwarded-* headers when proxying
67+
--watcher (String) (Default: events)
68+
--live-reload (Boolean) (Default: true)
69+
--live-reload-host (String) Defaults to host
70+
--live-reload-base-url (String) Defaults to baseURL
71+
--live-reload-port (Number) Defaults to same port as ember app
72+
--live-reload-prefix (String) (Default: _lr) Default to _lr
73+
--environment (String) (Default: development) Possible values are "development", "production", and "test".
74+
--output-path (Path) (Default: dist/)
75+
--ssl (Boolean) (Default: false) Set to true to configure Ember CLI to serve using SSL.
76+
--ssl-key (String) (Default: ssl/server.key) Specify the private key to use for SSL.
77+
--ssl-cert (String) (Default: ssl/server.crt) Specify the certificate to use for SSL.
78+
--path (Path) Reuse an existing build at given path.
79+
```
80+
81+
### `ember test <options...>`
82+
83+
```shell
84+
--environment (String) (Default: test) Possible values are "development", "production", and "test".
85+
--config-file (String)
86+
--server (Boolean) (Default: false)
87+
--host (String)
88+
--test-port (Number) (Default: 7357) The test port to use when running tests. Pass 0 to automatically pick an available port
89+
--filter (String) A string to filter tests to run
90+
--module (String) The name of a test module to run
91+
--watcher (String) (Default: events)
92+
--launch (String) (Default: false) A comma separated list of browsers to launch for tests.
93+
--reporter (String) Test reporter to use [tap|dot|xunit] (default: tap)
94+
--silent (Boolean) (Default: false) Suppress any output except for the test report
95+
--ssl (Boolean) (Default: false) Set to true to configure testem to run the test suite using SSL.
96+
--ssl-key (String) (Default: ssl/server.key) Specify the private key to use for SSL.
97+
--ssl-cert (String) (Default: ssl/server.crt) Specify the certificate to use for SSL.
98+
--testem-debug (String) File to write a debug log from testem
99+
--test-page (String) Test page to invoke
100+
--path (Path) Reuse an existing build at given path.
101+
--query (String) A query string to append to the test page URL.
102+
--output-path (Path)
103+
```
104+
105+
For a complete list of command line options and aliases run `ember help`.

0 commit comments

Comments
 (0)