aboutsummaryrefslogtreecommitdiff
path: root/src/novel_command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/novel_command.sh')
-rw-r--r--src/novel_command.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/novel_command.sh b/src/novel_command.sh
new file mode 100644
index 0000000..ccd66e2
--- /dev/null
+++ b/src/novel_command.sh
@@ -0,0 +1,5 @@
+# Obtain user's chapter choice
+chapter_location="$(chapter_selection "https://www.honeyfeed.fm/novels/${args[id]}")"
+
+# Display chapter
+chapter_reader "${chapter_location}"