refactor: changed default help.txt j2 vars
This commit is contained in:
parent
f897bc3ca5
commit
c2d5be5eed
1 changed files with 12 additions and 11 deletions
|
|
@ -24,7 +24,7 @@ const (
|
||||||
Name: {{ makeshift.plugin.name }}
|
Name: {{ makeshift.plugin.name }}
|
||||||
Version: {{ makeshift.plugin.version }}
|
Version: {{ makeshift.plugin.version }}
|
||||||
Description: {{ makeshift.plugin.description }}
|
Description: {{ makeshift.plugin.description }}
|
||||||
Metadata: {{ makeshift.plugin.metadata }}
|
Author: {{ makeshift.plugin.metadata.name }} ({{ makeshift.plugin.metadata.email }})
|
||||||
|
|
||||||
Profile Information:
|
Profile Information:
|
||||||
ID: {{ makeshift.profiles.default.id }}
|
ID: {{ makeshift.profiles.default.id }}
|
||||||
|
|
@ -33,23 +33,24 @@ const (
|
||||||
# setup environment variables</br>
|
# setup environment variables</br>
|
||||||
export MAKESHIFT_HOST={{ makeshift.profiles.default.data.host }}</br>
|
export MAKESHIFT_HOST={{ makeshift.profiles.default.data.host }}</br>
|
||||||
export MAKESHIFT_PATH={{ makeshift.profiles.default.data.path }}</br>
|
export MAKESHIFT_PATH={{ makeshift.profiles.default.data.path }}</br>
|
||||||
export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}</br>
|
export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}</br></br>
|
||||||
</br>
|
|
||||||
# start the service</br>
|
# start the service</br>
|
||||||
makeshift serve --root $HOME/apps/makeshift/server --init</br>
|
makeshift serve --root ./tests --init -l debug</br></br>
|
||||||
</br>
|
|
||||||
# download a file or directory (as archive)</br>
|
# download a file or directory (as archive)</br>
|
||||||
makeshift download</br>
|
makeshift download</br>
|
||||||
makeshift download --host http://localhost:5050 --path help.txt</br>
|
makeshift download --host http://localhost:5050 --path help.txt</br></br>
|
||||||
</br>
|
|
||||||
# download files with rendering using plugins</br>
|
# download files with rendering using plugins</br>
|
||||||
makeshift download --plugins smd,jinja2 --profile compute</br>
|
makeshift download --plugins smd,jinja2 --profile compute</br>
|
||||||
curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2</br>
|
makeshift download -p templates --plugins jinja --profile io</br>
|
||||||
</br>
|
curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2</br></br>
|
||||||
|
|
||||||
# upload a file or directory (recursively)</br>
|
# upload a file or directory (recursively)</br>
|
||||||
makeshift upload</br>
|
makeshift upload</br>
|
||||||
makeshift upload --host http://localhost:5050 --path help.txt</br>
|
makeshift upload --host http://localhost:5050 --path help.txt</br></br>
|
||||||
</br>
|
|
||||||
# list the files in a directory</br>
|
# list the files in a directory</br>
|
||||||
makeshift list --path help.txt</br>
|
makeshift list --path help.txt</br>
|
||||||
makeshift list --host http://localhost:5050 --path help.txt</br>
|
makeshift list --host http://localhost:5050 --path help.txt</br>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue