Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
Module : Cookbook.Recipes.Cline Copyright : (c) 2014 by Nate Pisarski License : BSD3 Maintainer : nathanpisarski@gmail.com Stability : Stable Portability : Portable (Cookbook) Cline is a library for managing strings meant to represent command-line arguments. Flags can toggle functionality in programs. Command-line arguments and their short names take an argument.
Represents command-line options. Works on either arguments or flags.
clineExtract :: [String] -> [Cline] Source #
Extract arguments from a list of word-separated strings.