=== modified file 'dashboard_app/templates/dashboard_app/bundle_detail.html'
@@ -59,9 +59,9 @@
<p>You can download this bundle with the following command:</p>
<div class="console">
{% if bundle.private %}
- <code>lava-dashboard-tool get --dashboard-url=http://{{request.user.username}}@{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}}</code>
+ <code>lava-tool get --dashboard-url=http://{{request.user.username}}@{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}}</code>
{% else %}
- <code>lava-dashboard-tool get --dashboard-url=http://{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}}</code>
+ <code>lava-tool get --dashboard-url=http://{{site.domain}}{% url lava.api_handler %} {{bundle.content_sha1}}</code>
{% endif %}
</div>
{% endblock %}
=== modified file 'dashboard_app/templates/dashboard_app/data_view_list.html'
@@ -9,8 +9,8 @@
class="ui-icon ui-icon-info"
style="float: left; margin-right: 0.3em;"></span>
<strong>Hint:</strong> To call a data view use the
- <code>lava-dashboard-tool</code> command. See
- <code>lava-dashboard-tool query-data-view --help</code>
+ <code>lava-tool</code> command. See
+ <code>lava-tool query-data-view --help</code>
to get started.
</div>
</div>
=== modified file 'setup-dev-env.sh'
@@ -11,7 +11,7 @@
PORT=8000
fi
fi
-# Setup dashboard URL for lava-dashboard-tool
+# Setup dashboard URL for lava-tool
export DASHBOARD_URL=http://localhost:$PORT/dashboard
# Find root directory
ROOT="$(bzr root)"
@@ -69,18 +69,18 @@
echo " * waiting for server to start up"
sleep 5
echo " * creating bundle stream for example data"
- lava-dashboard-tool make-stream /anonymous/examples/ --name "Demo content loaded from examples/bundles"
+ lava-tool make-stream /anonymous/examples/ --name "Demo content loaded from examples/bundles"
for BUNDLE_PATHNAME in $ROOT/examples/bundles/*.json; do
BUNDLE=$(basename $BUNDLE_PATHNAME .json)
echo " * importing bundle: $BUNDLE"
- lava-dashboard-tool put $BUNDLE_PATHNAME >/dev/null
+ lava-tool put $BUNDLE_PATHNAME >/dev/null
done
for BUNDLE_PATHNAME in $ROOT/examples/bundles/templates/*.json; do
BUNDLE=$(basename $BUNDLE_PATHNAME .json)
echo " * importing bundle template: $BUNDLE"
for i in $(seq 1 20); do
sed "$BUNDLE_PATHNAME" -e "s!@TEMPLATE@!$(printf %04d $i)!g" > "$i-$BUNDLE"
- lava-dashboard-tool put "$i-$BUNDLE" /anonymous/examples/ >/dev/null
+ lava-tool put "$i-$BUNDLE" /anonymous/examples/ >/dev/null
rm -f "$i-$BUNDLE"
done
done