From 5429a4147e83c310982f87c85a40430c4bf13d3f Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 15 Sep 2025 15:53:50 -0600 Subject: [PATCH] feat: added example config --- examples/config.yaml | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 examples/config.yaml diff --git a/examples/config.yaml b/examples/config.yaml new file mode 100644 index 0000000..de62da6 --- /dev/null +++ b/examples/config.yaml @@ -0,0 +1,54 @@ +--- +# +# Makeshift Config +# +# Repository: https://git.towk2.me/towk/makeshift +# +# Default configuration file for 'makeshift' CLI and service. +# This file was autogenerated using 'makeshift config new' command. +# + +# Set the service host. +host: http://localhost:5050 + +# Set the path to the file or directory to download. +path: help.txt + +# Set the log file path. Logs will be written to this location. +log-file: logs/makeshift.log + +# Set the log level. Possible values include 'debug', 'info', 'warn', +# 'error', 'disabled', and 'trace'. +log-level: info + +# Set the plugins to use when downloading files and/or directories. +plugins: + - smd + - jinja2 + +# Set the positional arguments to pass to ALL plugins when downloading +# files and directories. NOTE: These arguments may be ignored or not +# used within certain plugins. +plugin-args: + +# Set the key-word arguments stored in the data that is passed to ALL +# plugins when downloading files and directories. NOTE: These arguments +# may be ignored or not used within certain plugins. +plugin-kwargs: + +# Set the profiles to use when downloading files and/or directories. +profiles: + - default + +# Set whether to extract the archive when downloading directories. +extract: false + +# Set whether to remove an archive after downloading and extracting. +# This requires that the 'extract' flag be set to 'true'. +remove-archive: false + +# Set the path to a CA certificate. +cacert: "" + +# Set the path to a CA key file. +keyfile: ""