aboutsummaryrefslogtreecommitdiff
path: root/src/novel_command.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-29 23:05:43 +0000
committerFuwn <[email protected]>2023-05-29 23:05:43 +0000
commit9623579cb6e231805ca9ec9c245955a926e01cd8 (patch)
tree810c959a8907e5e111cbbcde772867f0ae9abe80 /src/novel_command.sh
downloadnectar-9623579cb6e231805ca9ec9c245955a926e01cd8.tar.xz
nectar-9623579cb6e231805ca9ec9c245955a926e01cd8.zip
feat: initial releasev0.1.0
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}"