

| |||||||
|
You are here: Root > By Topic > Utilities
A parser for unix style command line options. Can act as a simple Getopt for Lisp or can automatically bind values passed in from the CLI.
| illuminati@beggersandbuskers.com | |
| Web site | http://github.com/astine/unix-options |
| Mailing list | unix.options@librelist.com |
| Version | 0.2.4 - |
| Maturity | Alpha |
| OS compatibility | Linux on x86 Other Posix/style systems should work but aren't tested. |
| ASDF installable | Yes |
| Official Download | http://www.beggersandbuskers.com/unix-options.tar.gz |
| Mirrored Download | |
| Source code repository | http://github.com/astine/unix-options |
Unix-options is a small Common Lisp library for parsing unix-style command line options.
This library is very new and not widely tested so suggestions, bug-reports and patches are welcome.
An example of usage:
(with-cli-options ()
(print ¶meters in-file out-file)
(if print
(with-open-file (in :direction :input)
(with-open-file (out :direction :output)
(while (peek-char in)
(write-char (read-char in) out))))))
$ sample-program -p -i input.txt -o output.txt
=> write input.txt to output.txt
Full instructions can be found in the README
Please send any feedback to unix dot options (at) librelist dot com
LispWorks | Allegro Common Lisp | OpenMCL | CLISP | SBCL
Utilities | Parsers | ASDF installable | Unix family
You must be logged to add a note
You must be logged to add a comment