diff --git a/pkg/service/constants.go b/pkg/service/constants.go index 719a9e4..3767260 100644 --- a/pkg/service/constants.go +++ b/pkg/service/constants.go @@ -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
export MAKESHIFT_HOST={{ makeshift.profiles.default.data.host }}
export MAKESHIFT_PATH={{ makeshift.profiles.default.data.path }}
- export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}
-
+ export MAKESHIFT_SERVER_ROOT={{ makeshift.profiles.default.data.server_root }}

+ # start the service
- makeshift serve --root $HOME/apps/makeshift/server --init
-
+ makeshift serve --root ./tests --init -l debug

+ # download a file or directory (as archive)
makeshift download
- makeshift download --host http://localhost:5050 --path help.txt
-
+ makeshift download --host http://localhost:5050 --path help.txt

+ # download files with rendering using plugins
makeshift download --plugins smd,jinja2 --profile compute
- curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2
-
+ makeshift download -p templates --plugins jinja --profile io
+ curl $MAKESHIFT_HOST/download/help.txt?plugins=smd,jinja2

+ # upload a file or directory (recursively)
makeshift upload
- makeshift upload --host http://localhost:5050 --path help.txt
-
+ makeshift upload --host http://localhost:5050 --path help.txt

+ # list the files in a directory
makeshift list --path help.txt
makeshift list --host http://localhost:5050 --path help.txt