Skip to content

Interface: ProjectContext

A command’s stdout, classified as a filesystem path and/or a URL.

readonly output: string


readonly optional path?: string

output when it names something on disk.


readonly optional pathStats?: Stats

file.statSync of path, when it exists.


readonly optional url?: UrlBuilderImpl

output parsed into a chainable net.UrlBuilder, when it is a real network URL - a non-blank scheme (not file:) AND a non-blank hostname. Bare paths, scp-like git@host:... remotes, and file: URLs stay unset.