cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-8455) suppress hooks with command line options
Date Fri, 18 Dec 2015 00:20:46 GMT


ASF GitHub Bot commented on CB-8455:

Github user bso-intel commented on the pull request:
    Hi Jesse and Vladimir,
    Could you review this together with my pull request in
    for cordova-lib?
    Two of them should be pulled together for CB-8455.

> suppress hooks with command line options
> ----------------------------------------
>                 Key: CB-8455
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI, CordovaLib
>            Reporter: Byoungro So
>            Assignee: Byoungro So
>              Labels: cordova-6.0.0
> Some Cordova users need a way to prevent hooks from being executed for various reasons.
One example is a security issue.
> A new CLI option "--nohooks" can be introduced for those Cordova users.
> This option takes a string as the pattern for disabling hooks.
> For example, 
> {code}cordova plugin --nohooks before_plugin_add {code}
> {code}cordova platform --nohooks before*{code}
> {code}cordova prepare --nohooks before_prepare --nohooks after*{code}
> {code}cordova build --nohooks .{code}
> --nohooks can be repeated for multiple hook patterns.
> All pattern strings are automatically converted to RegExp.
> The last example disables all hooks.
> We need this feature in Intel XDK.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message