1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-05-04 15:49:01 +01:00

Delete hassio-cli

This commit is contained in:
Pascal Vizeli
2018-04-12 13:29:27 +02:00
committed by GitHub
parent f9f255782b
commit 2bb7c9e747
@@ -1,15 +0,0 @@
#!/bin/sh
# Load configs
CONFIG_FILE=/mnt/data/supervisor.json
CLI="$(jq --raw-output '.cli' $CONFIG_FILE)"
DOCKER_ARGS="$(jq --raw-output '.cli_args // empty' $CONFIG_FILE)"
# Update CLI
if docker --pull $CLI > /dev/null 2>&1; then
# FIXME: cleanup
fi
docker run --rm -ti $DOCKER_ARGS $CLI