Command-Line Argument Sorting and Parsing for Go
CLASP stands for Command-Line Argument Sorting and Parsing. The first CLASP library was a C library with a C++ wrapper. There have been several implementations in other languages. CLASP.Go is the Go version.
Install via go get
, as in:
go get "github.com/synesissoftware/CLASP.Go"
and then import as:
import clasp "github.com/synesissoftware/CLASP.Go"
or, simply, as:
import "github.com/synesissoftware/CLASP.Go"
T.B.C.
Examples are provided in the examples
directory, along with a markdown description for each. A detailed list TOC of them is provided in EXAMPLES.md.
Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/CLASP.Go.
None
CLASP.Ruby is inspired by the C/C++ CLASP library, which is documented in the articles:
- An Introduction to \CLASP, Matthew Wilson, CVu, January 2012;
- Anatomy of a CLI Program written in C, Matthew Wilson, CVu, September 2012; and
- Anatomy of a CLI Program written in C++, Matthew Wilson, CVu, September 2015.
Other CLASP libraries include:
Projects in which CLASP.Go is used include:
CLASP.Go is used in the libCLImate.Go library.
CLASP.Go is released under the 3-clause BSD license. See LICENSE for details.