[erlang-questions] An interactive erlang console
Arun
arunp@REDACTED
Tue Feb 20 04:34:33 CET 2018
Hi,
I am working on an erlang application which provides a command line tool
to run some basic tests on hardware. The tool work like this,
as the application starts, it will prompt a message on the console, user
can give any options present in the console, based on the options
provided by user the application performs the required tests.
I am using *io:read/1*, functions to display the message and read the
user provided options. But the problem with this function is that, user
has to give a
*dot* at the end. Is it possible to avoid forcing user to put *dot* at
the end of every option he provides, any better function or is there any
better way build
a command line tool in erlang.
Can someone please help me out in this.
Thanks and regards,
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180220/a015abda/attachment.htm>
More information about the erlang-questions
mailing list