mason icon indicating copy to clipboard operation
mason copied to clipboard

feat: provide the path from `--output-dir` to `HookContext`

Open Luckey-Elijah opened this issue 1 year ago • 4 comments

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 from dart:io)

Requirements

  • [ ] add outputDirectory getter on HookContext

Luckey-Elijah avatar May 24 '23 19:05 Luckey-Elijah