L
L
leon_ti2013-02-08 15:52:55
linux
leon_ti, 2013-02-08 15:52:55

What are the CLI organization options for the device?

Colleagues, good day to you!
Tell me, please - are there any more or less ready-made tools (like an already written shell), on the basis of which you can make a command line interface for a specialized linux-box?
Roughly speaking, I want my box to communicate with the user in a language similar to the language of DLink switches or the like.
Box on the arm, distribution kit - either debian or openembedded (Angstrom), has not yet chosen.
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Evseev, 2013-02-11
@leon_ti

a la Cisco: routercli.sourceforge.net/
a la Juniper: code.google.com/p/easy-shell/
Mikrotik and D-Link's CLI simulators have not yet been seen in nature, but it is relatively easy to write a long one if desired. But why?
Usually they try the other way around - disable the command wrapper and get into the honest internal linux/freebsd/netbsd.

Q
qxfusion, 2013-02-08
@qxfusion

Well, as a rule, no, but so - I recommend that you look aside how MicroTik was implemented - and their utility for admins - WinBox

F
facha, 2013-02-12
@facha

Python has a cmd module for writing stuff like this.
docs.python.org/2/library/cmd.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question