nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

Request: Support environments other than release and debug

Open drice opened this issue 8 years ago • 1 comments

Currently, there are two supported environments, release and debug. The default is debug and "--release" can be used to build a release version of the app. It would be useful to have other environments, so I was wondering if it would be possible to add an "--environment" flag be allowed to specify these.

For example, "tns run android --environment=test" would use the file app.component.test.ts.

drice avatar Oct 10 '17 15:10 drice

I think this should close, the cli now supports --env.env stage or --env.env prod or --env.env xxxx

vallemar avatar Oct 13 '21 16:10 vallemar