Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

cliq Usage Examples

This directory contains examples of how to use the cliq library.

You can compile all the examples using:

$ make examples

Executables will be placed in the examples/bin directory.

Simple

Demonstrates how to create a simple CLI application with custom commands.

$ ./bin/simple help
testarg   This is a test argument
ver       Display version information
help      Display CLI information
$ ./bin/simple
No arguments found!
$ ./bin/simple ver
You really thought I'll version examples?!
$ ./bin/simple testarg ver
Test Argument Found!