oh-my-devpod 0.14.4 → 0.14.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-devpod",
3
- "version": "0.14.4",
3
+ "version": "0.14.5",
4
4
  "description": "Ubuntu productivity tool manager with the omd terminal interface",
5
5
  "license": "MIT",
6
6
  "author": "zhangdw156",
package/runtime/VERSION CHANGED
@@ -1 +1 @@
1
- 0.14.4
1
+ 0.14.5
package/runtime/bin/omd CHANGED
Binary file
@@ -170,6 +170,16 @@ requires = []
170
170
  install_requires = ["linuxbrew"]
171
171
  uninstall = true
172
172
 
173
+ [[component]]
174
+ id = "witr"
175
+ name = "witr"
176
+ description = "Trace processes, ports, containers, and files to their launch chain"
177
+ category = "terminal"
178
+ module = "modules/tools/witr.sh"
179
+ requires = []
180
+ install_requires = ["linuxbrew"]
181
+ uninstall = true
182
+
173
183
  [[component]]
174
184
  id = "neovim"
175
185
  name = "Neovim"
@@ -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="witr"
7
+ formula="witr"
8
+ command_name="witr"
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