This is a migrated thread and some comments may be shown as answers.

Suppress browser invocation

4 Answers 47 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Enterprise
Top achievements
Rank 1
Enterprise asked on 01 Feb 2017, 11:37 PM

I want to prevent invoking a browser tab pointing at https://platform.telerik.com/appmanager/... upon completion of these commands:

appbuilder appmanager upload...
 appbuilder appmanager livesync...

 

Are there additional params to do so?

4 Answers, 1 is accepted

Sort by
0
Accepted
Garo
Telerik team
answered on 06 Feb 2017, 10:35 AM
Hi Derek,

For the time being, you can achieve this behavior only by manually modifying the AppBuilder CLI. To do so, please follow these steps:
  1. Open the folder where the AppBuilder CLI is installed. (You can get it by running the "where appbuilder" command in the Command Prompt. Just make sure that you select only the path to npm\ and exclude the executable files after that.)
  2. Once in the npm\ folder, you should open the folders in that order: node_modules > > lib > services.
  3. In the services folder, locate and open appmanager-service.js.
  4. Navigate to row 99 - the openAppManagerStore method and comment out the 102 row - this.$opener.open(tamUrl);.

Having said that, I have notified the responsible developers and they will implement a functionality that would make it possible to set a flag while using those commands. For example, the new command will look like this: upload <platform> --skipUi. This will become available with our next major release, which is planned for the end of February.

I hope this helps. Please, let me know if I can be of any further assistance.

Regards,
Garo
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Enterprise
Top achievements
Rank 1
answered on 09 Feb 2017, 09:29 PM
Outstanding! Thank you for the monkey patch steps and future implementation plans.
0
Enterprise
Top achievements
Rank 1
answered on 11 Apr 2017, 05:12 PM
--skipUi does not appear to have made it into the 3.7.0 release
0
Garo
Telerik team
answered on 13 Apr 2017, 01:09 PM
Hello Derek,

I have answered this question in the separate support ticket that you have opened. I recommend we continue our discussion there. This will keep the conversation in one place and help us to avoid any miscommunication.

Regards,
Garo
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Command-Line Interface
Asked by
Enterprise
Top achievements
Rank 1
Answers by
Garo
Telerik team
Enterprise
Top achievements
Rank 1
Share this question
or