aboutsummaryrefslogtreecommitdiff
path: root/src/watch_command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch_command.sh')
-rw-r--r--src/watch_command.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/watch_command.sh b/src/watch_command.sh
new file mode 100644
index 0000000..9fd039d
--- /dev/null
+++ b/src/watch_command.sh
@@ -0,0 +1,5 @@
+if [ -n "${args[--dub]}" ]; then
+ ani-cli --dub "$(array_to_string "${args[search]}")"
+else
+ ani-cli "$(array_to_string "${args[search]}")"
+fi