Need a modular & expandable CLI
Hey everyone,
I'm trying to make some progress on a project of mine and I need a CLI. I have already implemented a full-duplex IPC between the CLI application and a daemon process.
The CLI application and daemon communicate using a message queue. Anything typed in the CLI application gets sent to the daemon where its parsed and will execute.
I would like to have some type of modular CLI framework so if new commands are implemented in a module that module registers them with the IPC module and it becomes "aware" of those commands. As commands are registered it would build a command tree is what I picture.
Anyone know of an existing framework that might work? The language is C.
Thanks.
|