Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed `bird new AppName` to `bird hatch AppName`

  • Loading branch information...
commit c482ad1eb414a80c8537228dd009fbec466b59ad 1 parent a5d6120
@moonmaster9000 authored
Showing with 9 additions and 5 deletions.
  1. +5 −1 README.markdown
  2. +4 −4 bin/bird.hs
View
6 README.markdown
@@ -16,7 +16,7 @@ Note: make sure $HOME/.cabal/bin is in your PATH.
## Create an app
- λ bird new StarWars
+ λ bird hatch StarWars
## Compile your app
@@ -111,4 +111,8 @@ Inside the function body, you can use the following methods (don't worry, this l
This project is *still* in its infancy. Coming features:
* logging
+* post/put/delete http param processing
+* helpers for popular html generation solutions (Hamlet, HStringTemplate, HAXML, BlazeHTML, etc.)
+* WAI support
+* static asset serving
* support for sending files
View
8 bin/bird.hs
@@ -27,7 +27,7 @@ runArg arguments =
appModuleName <- return $ head . reverse $ split '/' appModuleNamePath
system $ "./" ++ appModuleName
return ()
- ["new", appName] -> createBirdApp appName
+ ["hatch", appName] -> createBirdApp appName
(action:_) -> do
putStrLn $ "Unrecognized action: " ++ (show action) ++ "\n"
printHelp
@@ -36,9 +36,9 @@ runArg arguments =
printHelp = do
putStrLn $ "Usage: bird action [options]\n\n" ++
" Actions:\n" ++
- " new -> create a new Bird app, takes the name as an argument, for example `bird create StarWars`\n" ++
- " nest -> compile your Bird app\n" ++
- " fly -> expose your Bird app to the world (on port 3000)\n"
+ " hatch -> create a new Bird app, takes the name as an argument, for example `bird hatch StarWars`\n" ++
+ " nest -> compile your Bird app\n" ++
+ " fly -> expose your Bird app to the world (on port 3000)\n"
appModulePrelude appModuleName =
"--This file is generated by bird. It will be overwritten the next time you run 'bird nest'. Edit at your own peril.\n" ++
Please sign in to comment.
Something went wrong with that request. Please try again.