For example:
(asdf:oos 'asdf:load-op 'unix-options)
(use-package 'unix-options)
(with-cli-options () (alpha beta delta ¶meters file)
(print alpha)
(print beta)
(print delta)
(print file)
(print free))
(quit)
$ sample-script.lisp -affile.txt --beta -- file2.txt
-> T
-> T
-> NIL
-> "file.txt"
-> ("file2.txt")
$The repository is on github: http://github.com/astine/unix-options
system programming command-line options parser