surrealdb / install.surrealdb.com

The script for installing SurrealDB on unix operating systems
https://install.surrealdb.com
Apache License 2.0
9 stars 6 forks source link

Add `--interactive` flag #9

Closed rushmorem closed 9 months ago

rushmorem commented 9 months ago

bash index.sh now prompts for an installation directory, unlike the current

curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh

This can break automatic installation scripts. This PR adds an -i or --interactive flag to invoke this behaviour so that current scripts won't be broken.