Is it possible to scaffold a new environment using the Angular CLI?Angular CLI SASS optionsAngular CLI addonHow to upgrade Angular CLI project?angular cli: application building fails on server environmentDefaultEncapsulation in angular-cli --prodAngular CLI environments not workingHow do I add Sass compilation in Angular CLI 6: angular.json?How to remove package using Angular CLI?Configure Angular Routes in environmentAngular CLI upgrade rewrote my angular-cli.json settings

Why no parachutes in the Orion AA2 abort test?

Why do we need a bootloader separate from our application program in microcontrollers?

Is conquering your neighbors to fight a greater enemy a valid strategy?

Taking my Ph.D. advisor out for dinner after graduation

Should I warn my boss I might take sick leave?

Is this standard Japanese employment negotiations, or am I missing something?

Are "confidant" and "confident" homophones?

What can a novel do that film and TV cannot?

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

What causes a fastener to lock?

Did William Shakespeare hide things in his writings?

Simple Arithmetic Puzzle 8. Or is it?

How did Einstein know the speed of light was constant?

Can you take the Dodge action while prone?

Why does mean tend be more stable in different samples than median?

Taking advantage when the HR forgets to communicate the rules

Curve fitting when data has a sharp initial slope and then tapers off

LTSpice: how to setup sinusoidal or exponential voltage source?

When is one 'Ready' to make Original Contributions to Mathematics?

Isn't "Dave's protocol" good if only the database, and not the code, is leaked?

Should I cheat if the majority does it?

How do I check that users don't write down their passwords?

Change the default text editor in Terminal

What's the difference between 反面 and 一方?



Is it possible to scaffold a new environment using the Angular CLI?


Angular CLI SASS optionsAngular CLI addonHow to upgrade Angular CLI project?angular cli: application building fails on server environmentDefaultEncapsulation in angular-cli --prodAngular CLI environments not workingHow do I add Sass compilation in Angular CLI 6: angular.json?How to remove package using Angular CLI?Configure Angular Routes in environmentAngular CLI upgrade rewrote my angular-cli.json settings






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new we get the ability to build locally via ng build and have a production build via ng build --prod. I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments folder and updating the sections in angular.json. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json, or am I required to always hand roll and do this manually?



I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate










share|improve this question




























    1















    Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new we get the ability to build locally via ng build and have a production build via ng build --prod. I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments folder and updating the sections in angular.json. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json, or am I required to always hand roll and do this manually?



    I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate










    share|improve this question
























      1












      1








      1


      1






      Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new we get the ability to build locally via ng build and have a production build via ng build --prod. I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments folder and updating the sections in angular.json. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json, or am I required to always hand roll and do this manually?



      I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate










      share|improve this question














      Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new we get the ability to build locally via ng build and have a production build via ng build --prod. I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments folder and updating the sections in angular.json. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json, or am I required to always hand roll and do this manually?



      I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate







      angular angular-cli






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 19:33









      atconwayatconway

      12k19 gold badges120 silver badges197 bronze badges




      12k19 gold badges120 silver badges197 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Short answer: No.

          All options that the CLI could generate are listed here



          Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.



          However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
          The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.



          • Schematics Indtroduction





          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345190%2fis-it-possible-to-scaffold-a-new-environment-using-the-angular-cli%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Short answer: No.

            All options that the CLI could generate are listed here



            Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.



            However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
            The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.



            • Schematics Indtroduction





            share|improve this answer



























              1














              Short answer: No.

              All options that the CLI could generate are listed here



              Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.



              However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
              The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.



              • Schematics Indtroduction





              share|improve this answer

























                1












                1








                1







                Short answer: No.

                All options that the CLI could generate are listed here



                Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.



                However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
                The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.



                • Schematics Indtroduction





                share|improve this answer













                Short answer: No.

                All options that the CLI could generate are listed here



                Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.



                However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
                The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.



                • Schematics Indtroduction






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 7:10









                joweyjowey

                1,0191 gold badge10 silver badges29 bronze badges




                1,0191 gold badge10 silver badges29 bronze badges


















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345190%2fis-it-possible-to-scaffold-a-new-environment-using-the-angular-cli%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript