Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我根本找不到从键盘上阅读的方法。
在脚本文件中,我尝试了这个:
CLI run CLI setPrompt CLI readLine CLI whatever
但它不起作用。
或者,从不需要您libreadline安装的行中读取的一种方法是使用:
libreadline
myInputtedValue := File standardInput readLine
你可以这样做:
myInputtedValue := ReadLine readLine