Skip to content

Commit

Permalink
Merge pull request #1267 from gambogi/1241_runghc_aliases
Browse files Browse the repository at this point in the history
Address alias requests in #1241
  • Loading branch information
borsboom committed Nov 3, 2015
2 parents 1bf5156 + b5e0393 commit dd554f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,21 @@ main = withInterpreterArgs stackProgName $ \args isInterpreter -> do
cmdFooter
ghciCmd
ghciOptsParser
addCommand "repl"
"Run ghci in the context of package(s) (experimental) (alias for 'ghci')"
cmdFooter
ghciCmd
ghciOptsParser
addCommand "runghc"
"Run runghc"
cmdFooter
execCmd
(execOptsParser $ Just ExecRunGhc)
addCommand "runhaskell"
"Run runghc (alias for 'runghc')"
cmdFooter
execCmd
(execOptsParser $ Just ExecRunGhc)
addCommand "eval"
"Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE'"
cmdFooter
Expand Down

0 comments on commit dd554f5

Please sign in to comment.