CLI reference / quality / hooks / remove

stado quality hooks remove

Invocation

stado quality hooks remove [OPTIONS]

Purpose

Take Stado's pre-push hook out of each checkout and put back the hook it chained; a hook that is not Stado's is left

Required inputs and options

Input or optionContract
--product <PRODUCT>The catalogued product whose checkouts are taken: the canonical checkout of its owner repository and of every surface's and installation's repository
--allEvery catalogued product's checkouts
--jsonOne document on stdout: each checkout's repository, products, path, hooks directory, state, whether an earlier hook is chained and what the verb did

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.