aboutsummaryrefslogtreecommitdiff
path: root/macli.yaml
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-16 22:53:05 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-16 22:53:05 +0530
commit10657c98d38f0db4f58c853f125301ee8af8542f (patch)
tree6197c9a00b824b88a8823eb8004aa6817757bb9c /macli.yaml
parent20c4f14750f18050f88aceef8adb788342576a25 (diff)
pushing sample macli config file (which doesnt work)
Diffstat (limited to 'macli.yaml')
-rw-r--r--macli.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/macli.yaml b/macli.yaml
new file mode 100644
index 0000000..dd5cc79
--- /dev/null
+++ b/macli.yaml
@@ -0,0 +1,30 @@
+# sample macli configuration file
+# can be placed (and accessed in the same order)
+# at ./macli.yaml, ~/.config/macli/macli.yaml or /etc/macli/macli.yaml
+#
+# https://vidhukant.xyz/docs/macli
+# https://github.com/MikunoNaka/macli
+#
+
+# AUTHENTICAITON INFO
+# macli defaults to the system keyring on windows or mac,
+# or gnome-keyring on linux to store the login information
+# if none are available it can be set here
+# but it is not recommended unless it's the only option
+#
+# if you're using termux, this is probably the only option
+auth:
+ # ~~can leave blank, macli will set this~~ TODO: make macli set this optionally
+ token: ""
+ # run `macli help` for instructions for creating one
+ client_id: ""
+ # save newly entered client id when logging in (yes/no)
+ save_client_id: "yes"
+
+# default settings (can be overridden by corresponding flags, `macli --help` for more details)
+defaults:
+ prompt_length: 5 # length of anime/manga selection prompt when searching (default: 5)
+ search_length: 10 # amount of search results to get (default: 10)
+ search_offset: 0 # offset for the search results (default is 0, changing it is not recommended)
+ search_nsfw: false # include NSFW rated search results (true/false)
+