| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Git.Vogue.Types
- data VogueOptions = Options {}
- data VCSType
- 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.
Constructors
| Options | |
Fields
| |
Instances
data VogueCommand Source #
Commands, with parameters, to be executed.
Constructors
| 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. |
Instances
Result of running a Plugin
A plugin that can be told to check or fix a list of files
Constructors
| Plugin | |
data SearchMode Source #
We want the flexibility of just checking changed files, or maybe checking all of them.
Constructors
| FindAll | |
| FindChanged | |
| FindSpecific [FilePath] |
Instances
data PluginDiscoverer m Source #
A thing that can find plugins, for example we might search through the libexec directory for executables.
Constructors
| PluginDiscoverer | |
Fields
| |
A VCS backend, such as git.
Constructors
| VCS | |
Fields
| |