noninteractive

This commit is contained in:
Collin Jackson 2024-10-08 17:18:57 -07:00
parent 26dc9bf576
commit 68f7a53737
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ Command line interface (CLI) for accessing the Nexus Network. Highest-performanc
## Quick start
```
curl https://network-cli.nexus.xyz/install.sh | sh
curl https://cli.nexus.xyz/install.sh | sh
```
If you do not already have Rust, you will be prompted to install it.
@ -15,7 +15,7 @@ If you do not already have Rust, you will be prompted to install it.
Use of the CLI is subject to the [Terms of Use](https://nexus.xyz/terms_of_use).
The first time you run it, it prompts you to accept the terms. To accept the terms
noninteractively (for example, in a continuous integration environment),
add `NONINTERACTIVE=1` at the start of the command.
add `NONINTERACTIVE=1` before `sh`.
## Known issues

View File

@ -3,7 +3,7 @@
rustc --version || curl https://sh.rustup.rs -sSf | sh
NEXUS_HOME=$HOME/.nexus
while true; do
while [ -z "$NONINTERACTIVE" ]; do
read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn </dev/tty
case $yn in
[Yy]* ) break;;