Description: CLIgen - A command line interface generator
interactive (3655) switch (1045) router (755) embedded systems (331) cli (75) command-line (40)
CLIgen builds interactive syntax-driven command-line interfaces in C from a high-level syntax specification. Interactive CLIs are often used in communication devices such as routers and switches. However, any device with a textual, syntax-driven, command-based interface can use CLIgen to make CLI programming easy.
CLIgen takes a syntax specification as input, generates a tree representation of the syntax, and provides an interactive command-line tool with completion, help, modes, etc. CLIgen is built to be efficient, and handles millions of syntax rules with fast feedback.
A designer formulates the command-line syntax and writes callback functions in C to implement the semantics of the commands.