Is it possible to write an angular-cli add-on without to hard code it in angular-cli


I would like to write an add-on for a custom distribution process and use this command in a terminal. Is it possible without hard-code the command in the source of angular-cli?

I saw that the command "github-pages-deploy" is hard-coded in angular-cli/addon/ng2/index.js file.


It is true that github pages deployments is within the Angular CLI itself, an example of implementing a deployment externally via an add-on can be found here:

By : Brocco

This video can help you solving your question :)
By: admin