| License | GPL-2 |
|---|---|
| Maintainer | yi-devel@googlegroups.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
| Extensions |
|
Yi.Command
Description
Various high-level functions to further classify.
Synopsis
- changeBufferNameE :: YiM ()
- shellCommandE :: YiM ()
- shellCommandV :: Text -> YiM ()
- newtype CabalBuffer = CabalBuffer {}
- cabalConfigureE :: CommandArguments -> YiM ()
- configureExit :: Either SomeException ExitCode -> YiM ()
- reloadProjectE :: String -> YiM ()
- buildRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- interactiveRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- selectRunner :: Text -> Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- makeBuild :: CommandArguments -> YiM ()
- cabalRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
- makeRun :: (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
- cabalBuildE :: CommandArguments -> YiM ()
- makeBuildE :: CommandArguments -> YiM ()
- shell :: YiM BufferRef
- searchSources :: (String ::: RegexTag) -> YiM ()
- grepFind :: (String ::: FilePatternTag) -> (String ::: RegexTag) -> YiM ()
- stackCommandE :: Text -> CommandArguments -> YiM ()
- stackRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
Documentation
changeBufferNameE :: YiM () Source #
Changing the buffer name quite useful if you have several the same. This also breaks the relation with the file.
shellCommandE :: YiM () Source #
shell-command with argument prompt
shellCommandV :: Text -> YiM () Source #
shell-command with a known argument
newtype CabalBuffer Source #
Constructors
| CabalBuffer | |
Fields | |
Instances
| Binary CabalBuffer Source # | |
Defined in Yi.Command | |
| Default CabalBuffer Source # | |
Defined in Yi.Command Methods def :: CabalBuffer # | |
| YiVariable CabalBuffer Source # | |
Defined in Yi.Command | |
cabalConfigureE :: CommandArguments -> YiM () Source #
cabal-configure
configureExit :: Either SomeException ExitCode -> YiM () Source #
reloadProjectE :: String -> YiM () Source #
buildRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Run the given commands with args and pipe the output into the build buffer, which is shown in an other window.
interactiveRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Run the given command with args in interactive mode.
selectRunner :: Text -> Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Select buildRun or interactiveRun based on stack or cabal command name
makeBuild :: CommandArguments -> YiM () Source #
cabalRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #
makeRun :: (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #
cabalBuildE :: CommandArguments -> YiM () Source #
cabal-build
makeBuildE :: CommandArguments -> YiM () Source #
grepFind :: (String ::: FilePatternTag) -> (String ::: RegexTag) -> YiM () Source #
Perform a find+grep operation
stackCommandE :: Text -> CommandArguments -> YiM () Source #
stack-build
stackRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #