Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide the execute hook output from CaptainHook? #53

Closed
nntoan opened this issue Jul 30, 2019 · 3 comments
Closed

How to hide the execute hook output from CaptainHook? #53

nntoan opened this issue Jul 30, 2019 · 3 comments

Comments

@nntoan
Copy link

nntoan commented Jul 30, 2019

Hi there,

I'm wondering if anyone else feels the same but the following message is quite annoying to me

Screenshot 2019-07-30 16 57 15

When I execute a git command, I know exactly what hook will be run after that, I also know what commands run because I can read captainhook.json.

Adding an option to captainhook.json to turn those messages off would be very helpful so the end-user can focus on the final output (in my case from GrumPHP) only.

Regards,
Toan

@sebastianfeldmann
Copy link
Collaborator

Maybe we can look into an option to reduce the output to a minimum

@heiglandreas
Copy link
Contributor

Perhaps being abe to set output to verbose (current behaviour, default), default (only output from the commands, no captainhook-output) and quiet (no outtput at all. Only the return Value will show success or no success)?

@sebastianfeldmann
Copy link
Collaborator

sebastianfeldmann commented Aug 6, 2019

Since version 4.5.1 you can configure the CaptainHook verbosity

{
  "config": {
    "verbosity": "normal"
  },
  ...
}

The default setting is currently verbose to be backwards compatible with the previous version.
I think CaptainHook version 5 will make normal the expected default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants