From 8cb556275f35aa8d5f2339e1fb481def06aa96e9 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Mon, 5 Apr 2021 16:11:50 +0200 Subject: [PATCH] Make sure to get apps.json for `recipe` subcommands Closes #136 --- abra | 3 +++ 1 file changed, 3 insertions(+) diff --git a/abra b/abra index 015b58a..5e48759 100755 --- a/abra +++ b/abra @@ -1858,6 +1858,7 @@ List all available recipes." } sub_recipe_list() { + require_apps_json get_recipes printf "%s delicious recipes:\n" "${#RECIPES[@]}" @@ -1872,6 +1873,7 @@ Show all available versions of ." } sub_recipe_versions() { + require_apps_json get_recipe_versions "$abra__recipe_" printf "%s thrilling versions of $abra__recipe_:\n" "${#RECIPE_VERSIONS[@]}" @@ -1912,6 +1914,7 @@ POWERED BY } sub_recipe_release() { + require_apps_json require_binary skopeo require_yq