aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/whatweb5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/whatweb b/commands/whatweb
new file mode 100755
index 0000000..1c1d779
--- /dev/null
+++ b/commands/whatweb
@@ -0,0 +1,5 @@
+#!/bin/sh
+#wrapper for WhatWeb
+whatweb_bin='../repos/whatweb/whatweb'
+[ -e "$whatweb_bin" ] || ( echo "Whatweb app does not exist" && exit 1 )
+$whatweb_bin "$1"