test
This commit is contained in:
parent
5055ab05ba
commit
65e5f5eb10
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ─< Check if the given command exists silently >─────────────────────────────────────────
|
||||
command_exists() {
|
||||
command -v "$@" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
getImports() {
|
||||
local url="$1"
|
||||
local import="$(mktemp)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue