Skip to content

darkestkhan/cbap

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                        Callback-Based Argument Parser

A small library providing simple callback-based parser for arguments.

This library is meant to be simple to use, and as such doesn't posses any
particularly advanced features (like argument combining) that may result
in complicating its use.

General use:
  CBAP.Register (...);    --
  ...                     -- Register all callbacks you are interested in.
  CBAP.Register (...);    --
  CBAP.Process_Arguments; -- Parse all arguments, calling callbacks if argument
                          -- associated with callback is detected.

See src/cbap.ads file for more detailed description of how library behaves.

------------------------------------------------------------------------------
--                    Copyright © 2015 darkestkhan                          --
------------------------------------------------------------------------------
-- Permission to use, copy, modify, and/or distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above   --
-- copyright notice and this permission notice appear in all copies.        --
--                                                                          --
-- The software is provided "as is" and the author disclaims all warranties --
-- with regard to this software including all implied warranties of         --
-- merchantability and fitness. In no event shall the author be liable for  --
-- any special, direct, indirect, or consequential damages or any damages   --
-- whatsoever resulting from loss of use, data or profits, whether in an    --
-- action of contract, negligence or other tortious action, arising out of  --
-- or in connection with the use or performance of this software.           --
------------------------------------------------------------------------------

About

Callback-Based Argument Parser Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published