Add skill install and dune auth to the install.sh script#24
Add skill install and dune auth to the install.sh script#24
Conversation
PR SummaryLow Risk Overview For non-interactive installs (no Written by Cursor Bugbot for commit add8fb3. Configure here. |
| } | ||
|
|
||
| if key == "" { | ||
| if stdin, ok := cmd.InOrStdin().(*os.File); ok && !term.IsTerminal(int(stdin.Fd())) { |
There was a problem hiding this comment.
better handling of envs that don't have interactive terminal
There was a problem hiding this comment.
what does cmd.InOrStdin().(*os.File); do?
| } | ||
|
|
||
| if key == "" { | ||
| if stdin, ok := cmd.InOrStdin().(*os.File); ok && !term.IsTerminal(int(stdin.Fd())) { |
There was a problem hiding this comment.
what does cmd.InOrStdin().(*os.File); do?
| } | ||
|
|
||
| has_tty() { | ||
| [ -t 0 ] || [ -t 1 ] || [ -t 2 ] |
Currently there are separate steps, we are not consolidating that into single script.