exec git init
exec git config user.email "you@example.com"
exec git config user.name "Your Name"
exec git add -A
exec lefthook install
exec git commit -m 'test'
stderr '\s*Setup 1\s*Setup 2\s*Hi there from Lefthook\s*'

-- lefthook.yml --
output:
  - setup
  - execution_out

pre-commit:
  setup:
    - run: echo 'Setup 1'
    - run: echo 'Setup 2'
  commands:
    echo:
      run: echo Hi there from Lefthook

