Method: Yast::CommandLineClass#UserInput

Defined in:
library/commandline/src/modules/CommandLine.rb

#UserInput(prompt) ⇒ String

Read input from command line

Parameters:

  • prompt (String)

    Set prompt to this value

Returns:



1298
1299
1300
# File 'library/commandline/src/modules/CommandLine.rb', line 1298

def UserInput(prompt)
  GetInput(prompt, :nohistory)
end