Created
February 19, 2022 14:03
-
-
Save chico/a8809c1ace8a2b48fb4f8d460fc0e5d2 to your computer and use it in GitHub Desktop.
Choices in zx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zx | |
const choice = await question("How do you script? ", { | |
choices: ["zx 💪", "bash 😵"], | |
}); | |
console.log(`Now scripting in ${choice}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment