質問

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 ?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top