Enable running sub-recipes from GitHub (#3207)

Co-authored-by: Lifei Zhou <lifei@squareup.com>
This commit is contained in:
Will Pfleger
2025-07-02 20:06:38 -04:00
committed by GitHub
parent 5f7e50ef4a
commit 49d98e061c
5 changed files with 131 additions and 44 deletions
+3 -3
View File
@@ -522,9 +522,9 @@ enum Command {
/// Additional sub-recipe file paths
#[arg(
long = "sub-recipe",
value_name = "FILE",
help = "Path to a sub-recipe YAML file (can be specified multiple times)",
long_help = "Specify paths to sub-recipe YAML files that contain additional recipe configuration or instructions to be used alongside the main recipe. Can be specified multiple times to include multiple sub-recipes.",
value_name = "RECIPE",
help = "Sub-recipe name or file path (can be specified multiple times)",
long_help = "Specify sub-recipes to include alongside the main recipe. Can be:\n - Recipe names from GitHub (if GOOSE_RECIPE_GITHUB_REPO is configured)\n - Local file paths to YAML files\nCan be specified multiple times to include multiple sub-recipes.",
action = clap::ArgAction::Append
)]
additional_sub_recipes: Vec<String>,