diff --git a/cli/manifest_read.php b/cli/manifest_read.php index 4c5f996..4e8a8ca 100644 --- a/cli/manifest_read.php +++ b/cli/manifest_read.php @@ -9,7 +9,7 @@ * INGROUP: MokoStandards * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform * PATH: /cli/manifest_read.php - * VERSION: 05.00.00 + * VERSION: 04.09.00 * BRIEF: Parse .manifest.xml and output requested field(s) for CI consumption * * Usage: @@ -19,7 +19,8 @@ * php manifest_read.php --path /repo --github-output * * Fields: name, org, description, license, license-spdx, platform, - * standards-version, standards-source, language, package-type, entry-point + * standards-version, standards-source, language, package-type, entry-point, + * source-dir, remote-subdir, excludes, dev-host, demo-host * * --all Print all fields as KEY=VALUE lines * --github-output Append all fields to $GITHUB_OUTPUT (for Gitea/GitHub Actions) @@ -99,6 +100,11 @@ if ($xml === false) { 'language' => (string)($xml->build->language ?? ''), 'package-type' => (string)($xml->build->{"package-type"} ?? ''), 'entry-point' => (string)($xml->build->{"entry-point"} ?? ''), + 'source-dir' => (string)($xml->deploy->{"source-dir"} ?? ''), + 'remote-subdir' => (string)($xml->deploy->{"remote-subdir"} ?? ''), + 'excludes' => (string)($xml->deploy->excludes ?? ''), + 'dev-host' => (string)($xml->deploy->{"dev-host"} ?? ''), + 'demo-host' => (string)($xml->deploy->{"demo-host"} ?? ''), 'manifest-file' => $manifestFile, ]; }