refactor: changed default help.txt j2 vars

This commit is contained in:
David Allen 2025-08-28 19:45:17 -06:00
parent f897bc3ca5
commit c2d5be5eed
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -24,7 +24,7 @@ const (
Name: {{ makeshift.plugin.name }}
Version: {{ makeshift.plugin.version }}
Description: {{ makeshift.plugin.description }}
Metadata: {{ makeshift.plugin.metadata }}
Author: {{ makeshift.plugin.metadata.name }} ({{ makeshift.plugin.metadata.email }})
Profile Information:
ID: {{ makeshift.profiles.default.id }}
@ -33,23 +33,24 @@ const (
# setup environment variables</br>
export MAKESHIFT_HOST={{ makeshift.profiles.default.data.host }}</br>
export MAKESHIFT_PATH={{ makeshift.profiles.default.data.path }}</br>
export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}</br>
</br>
export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}</br></br>
# start the service</br>
makeshift serve --root $HOME/apps/makeshift/server --init</br>
</br>
makeshift serve --root ./tests --init -l debug</br></br>
# download a file or directory (as archive)</br>
makeshift download</br>
makeshift download --host http://localhost:5050 --path help.txt</br>
</br>
makeshift download --host http://localhost:5050 --path help.txt</br></br>
# download files with rendering using plugins</br>
makeshift download --plugins smd,jinja2 --profile compute</br>
curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2</br>
</br>
makeshift download -p templates --plugins jinja --profile io</br>
curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2</br></br>
# upload a file or directory (recursively)</br>
makeshift upload</br>
makeshift upload --host http://localhost:5050 --path help.txt</br>
</br>
makeshift upload --host http://localhost:5050 --path help.txt</br></br>
# list the files in a directory</br>
makeshift list --path help.txt</br>
makeshift list --host http://localhost:5050 --path help.txt</br>