Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data VogueOptions = Options {}
- data VogueCommand
- data Check
- data Fix
- data Result
- data Plugin m = Plugin {}
- newtype PluginName = PluginName {
- unPluginName :: Text
- data SearchMode
- data PluginDiscoverer m = PluginDiscoverer {
- discoverPlugins :: m [Plugin m]
- disablePlugin :: PluginName -> m ()
- enablePlugin :: PluginName -> m ()
- data VCS m = VCS {
- getFiles :: SearchMode -> m [FilePath]
- installHook :: m ()
- removeHook :: m ()
- checkHook :: m Bool
- getTopLevel :: m FilePath
Documentation
data VogueOptions Source
Options parsed from the command-line.
data VogueCommand Source
Commands, with parameters, to be executed.
CmdInit | Add git-vogue support to a git repository. |
CmdVerify | Verify that support is installed and plugins happen. |
CmdPlugins | List the plugins that git-vogue knows about. |
CmdDisable PluginName | Disable a plugin |
CmdEnable PluginName | Enable a plugin |
CmdRunCheck | Run check plugins on files in a git repository. |
CmdRunFix | Run fix plugins on files in a git repository. |
Result of running a Plugin
A plugin that can be told to check or fix a list of files
newtype PluginName Source
data SearchMode Source
We want the flexibility of just checking changed files, or maybe checking all of them.
data PluginDiscoverer m Source
A thing that can find plugins, for example we might search through the libexec directory for executables.
PluginDiscoverer | |
|
A VCS backend, such as git.
VCS | |
|