Open
Description
I try to run the input_prompt
inside a function and it's not working. When I run this script directly, it doesn't ever show or ask for a prompt, but the echo "name: {name}"
prints name: if [ $(
.
#!/usr/bin/env amber
import { input_prompt } from "std/env"
fun installer() {
const name = input_prompt("Please enter your name:");
echo "name: {name}"
}
main (args) {
installer()
}