You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid all these command-line cmd options, you can write down your configuration in the `angular.json` file in the `options` attribute of your deploy project's architect. Just change the kebab-case<supid="configuration-file-mark-1">[1](#configuration-file-def-1)</sup> to lower camel case<supid="configuration-file-mark-2">[2](#configuration-file-def-2)</sup>
284
+
285
+
Example:
286
+
287
+
```sh
288
+
ng deploy your-project-name --base-href=https://angular-schule.github.io/angular-cli-ghpages/ --name=angular [email protected]
###### You can always use the [--dry-run](#dry-run) option to verify if your configuration is right.
307
+
308
+
---
309
+
310
+
<aid="configuration-file-def-1">1.</a> In kebab case, all letters are written in lower case and the words are separated by a hyphen or minus sign. "Kebab Case" becomes "kebab-case". [↩](#configuration-file-mark-1)
280
311
312
+
<aid="configuration-file-def-2">2.</a> Lower camel case (part of CamelCase) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first letter of each of the multiple words (except the first one) capitalized within the new word that forms the name. "Lower Camel Case" becomes "lowerCamelCase" [↩](#configuration-file-mark-2)
281
313
282
314
## 🏁 Next milestones <aname="milestones"></a>
283
315
284
316
We are glad that we have an integration into the CLI again.
285
317
However, we are looking forward to the following features:
286
318
287
-
* an interactive command-line prompt that guides you through the available options
288
-
* a configuration file (`angular-cli-ghpages.json`) to avoid all these command-line cmd options
319
+
* an interactive command-line prompt that guides you through the available options
289
320
* your feature that's not on the list yet?
290
321
291
322
We look forward to any help. PRs are welcome! 😃
@@ -303,11 +334,11 @@ Code released under the [MIT license](LICENSE).
0 commit comments