Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does a C++ shell framework exist?

I used to develop some Perl programs using Fry::Shell. I think it is very powerful and easy to use.

For one of my C++ projects I need to create a command line client. The idea is to create a TUI like the one found in routing hardware.

Does such a framework exist ?

like image 538
Mathieu G. Avatar asked Nov 13 '22 12:11

Mathieu G.


1 Answers

You can keep using Fry::Shell. It's not much of a hassle to call Perl from C++. Here's a starting point for that, there might be a better way to do it.

EDIT: I just found a project on Github. It's written in C and seems pretty much dead, but try it out, it might be useful. Even if it's not, since it's open source, you can use it as a starting point. It claims to provide a Cisco-like interface, which should suit you pretty well.

like image 151
dario_ramos Avatar answered Jan 04 '23 07:01

dario_ramos