aboutsummaryrefslogtreecommitdiff
path: root/src/novel_command.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-29 23:05:43 -0700
committerFuwn <[email protected]>2023-05-29 23:05:43 -0700
commit92ee80008474f0af84798dd231e4d25cd61f929b (patch)
tree810c959a8907e5e111cbbcde772867f0ae9abe80 /src/novel_command.sh
downloadnectar-92ee80008474f0af84798dd231e4d25cd61f929b.tar.xz
nectar-92ee80008474f0af84798dd231e4d25cd61f929b.zip
feat: initial release
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}"