cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorin Beer <lorin.b...@gmail.com>
Subject Re: Cordova hooks always verbose.
Date Fri, 13 Jun 2014 20:08:20 GMT
as someone who uses hooks, I think that's a good idea

1. non verbose mode should simply output something like "running X hooks"
2. verbose mode can output more details of the scripts being run

On Fri, Jun 13, 2014 at 1:05 PM, Michal Mocny <mmocny@google.com> wrote:
> https://issues.apache.org/jira/browse/CB-6942
>
>
> On Fri, Jun 13, 2014 at 3:51 PM, Michal Mocny <mmocny@google.com> wrote:
>
>> Hey all,
>>
>> I'd like to change cordova-cli to not always print multiple messages like
>> "Running command: ..." when it runs hooks.  I'd like this to happen only if
>> you have verbose logging on (with -d or --verbose).
>>
>> I think this was a regression added in February, but since its been in a
>> few releases with no complaints (likely because most projects don't use
>> hooks), I wonder if others feel this is a useful default (I don't think it
>> is)?
>>
>> Tommy: you guys use hooks in your projects a lot, what do you think?
>>
>> If it is a useful default, I'll instead add a way to opt-out without
>> disabling absolutely all logging with --silent.
>>
>> -Michal
>>

Mime
View raw message