oh-my-devpod 0.14.2 → 0.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ source "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/lib/common.sh"
5
+
6
+ component="yq"
7
+ formula="yq"
8
+ command_name="yq"
9
+
10
+ status() { omd_module_formula_status "${formula}" "${command_name}"; }
11
+ managed() { omd_module_formula_managed "${component}" "${formula}"; }
12
+ install_or_update() {
13
+ local action="$1"
14
+ shift
15
+ omd_module_formula_install_or_update "${component}" "${formula}" "${command_name}" "${action}" "$@"
16
+ }
17
+ uninstall() { omd_module_formula_uninstall "${component}" "${formula}" "$@"; }
18
+
19
+ case "${1:-}" in
20
+ status) status ;;
21
+ managed) managed ;;
22
+ install) shift; install_or_update install "$@" ;;
23
+ update) shift; install_or_update update "$@" ;;
24
+ uninstall) shift; uninstall "$@" ;;
25
+ *) omd_module_unknown_action "${1:-}" ;;
26
+ esac