mason
mason copied to clipboard
feat: provide the path from `--output-dir` to `HookContext`
Description
In a pre/post-hook script I would like to know
- if a user provided an output directory (perhaps use
null
if nothing provided) - what that output directory is (perhaps use
Directory
type fromdart:io
)
Requirements
- [ ] add
outputDirectory
getter onHookContext