Copyright | This file is part of the package vimeta. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://github.com/pjones/vimeta No part of this package including this file may be copied modified propagated or distributed except according to the terms contained in the LICENSE file. |
---|---|
License | BSD-2-Clause |
Safe Haskell | None |
Language | Haskell2010 |
| Common types/functions used in the command line interface.
Synopsis
- data CommonOptions
- commonOptions :: Parser CommonOptions
- updateConfig :: CommonOptions -> Config -> Config
Documentation
data CommonOptions Source #
Common command line options among all of the apps.
commonOptions :: Parser CommonOptions Source #
Common option parser.
updateConfig :: CommonOptions -> Config -> Config Source #
Update the configuration file base on the common command line options.