Export information from Antora runtime for use by run command
It would be useful to expose various variables available in the Collector to the Run Command. For example, the following variables could be useful to commands being ran by the collector:
- refname (origin.refname)
- worktreeDir (origin.collectorWorktree)
- gitdir (origin.gitdir)
- ref (origin.refname)
One way to expose these might be by populating them as environment variables with a prefix of ANTORA_COLLECTOR_ for example ANTORA_COLLECTOR_REFNAME.
Edited by Dan Allen