Skip to content

Commit dd554f5

Browse files
committed
Merge pull request #1267 from gambogi/1241_runghc_aliases
Address alias requests in #1241
2 parents 1bf5156 + b5e0393 commit dd554f5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/Main.hs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,21 @@ main = withInterpreterArgs stackProgName $ \args isInterpreter -> do
257257
cmdFooter
258258
ghciCmd
259259
ghciOptsParser
260+
addCommand "repl"
261+
"Run ghci in the context of package(s) (experimental) (alias for 'ghci')"
262+
cmdFooter
263+
ghciCmd
264+
ghciOptsParser
260265
addCommand "runghc"
261266
"Run runghc"
262267
cmdFooter
263268
execCmd
264269
(execOptsParser $ Just ExecRunGhc)
270+
addCommand "runhaskell"
271+
"Run runghc (alias for 'runghc')"
272+
cmdFooter
273+
execCmd
274+
(execOptsParser $ Just ExecRunGhc)
265275
addCommand "eval"
266276
"Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE'"
267277
cmdFooter

0 commit comments

Comments
 (0)