Cobalt Framework beta
Console application support
Cobalt Framework supports the implementation of console application. It has following functions:
This software is destributed under GNU Lesser General Public License v2.
The software is written by ANSI-C. So the porting this framework for the other UNIX system is NOT difficult.
See Git repository.
app-name [command] [options] [arguments]
command is optional. You can define one or more commands for the application. Each command can have different options and parameters.
There are two kind of
options. One is
long name option, the other is
short name option. The prefix of long name option is '--' (ex. '--help'). This is an example of long name option with a parameter.
The prefix of short name option is '-' (ex. '-h'). You can define multiple options after the prefix. This is an example of short name option.
-ch # option 'c' and 'h'
But you can not describe multiple options if it has one or more arguments. For example, when the 'f' option has a paramter, the 'c' is recognized as a parameter, not 'c' option.
-fc # equals to "-f c"