git-vogue-0.1.0.3: A framework for pre-commit checks.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Git.Vogue.PluginCommon

Description

Common helpers for git vogue plugins

Synopsis

Documentation

hsFiles :: IO [FilePath] Source

Filter the incoming file list by .hs files.

getPluginCommand :: String -> String -> IO PluginCommand Source

Get the plugin command requested given a header and a description

pCommand :: String -> a -> String -> Mod CommandFields a Source

Sub-command helper

data PluginCommand Source

Arguments to the plugin

Constructors

CmdCheck

Check the project for problems.

CmdFix

Fix problems in the project.

CmdName

Report details.