Skip to content

Commit d222ddd

Browse files
authored
Start HA CLI interactively (#138)
Use -o (--open-tty) to start the child with stdin as /dev/tty to allow interactive mode. This is required by some commands like the new device wipe command added with home-assistant/cli#464.
1 parent ab48260 commit d222ddd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/usr/bin/cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ while true; do
1919
COMMAND=$(echo "$COMMAND" | cut -b 3-)
2020
fi
2121

22-
echo "$COMMAND" | xargs ha
22+
echo "$COMMAND" | xargs -o ha
2323
echo ""
2424
done

0 commit comments

Comments
 (0)