You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do think input_bool and input_number would be good additions. Reduce code duplication around interpreting the various responses that mean "yes", like y, Y, yes, and possibly the empty string. Maybe allow input_bool to accept an argument for whether or not the empty string should count as a yes or a no?
Ambrevar
changed the title
Export an 'input()' function to the Lua scripts
Export an 'input()' and 'print()' functions to the Lua scripts
Mar 17, 2018
Mentioned in #4.
Sometimes it could be handy to make Demlo's process more interactive.
A script could ask the user to enter a value with
func input(prompt string) string
.Example: when a disc number is found, ask the user if we should ignore it for the current album or not.
Some input functions could be recurring (booleans, number queries). Add
input_bool
andinput_number
?The text was updated successfully, but these errors were encountered: