Permalink
Browse files

added method parameters to actions

  • Loading branch information...
1 parent cc2a447 commit 5e679b60d195e29694f29c42b845ab37ff6449ce @woodworker committed Jun 15, 2012
Showing with 11 additions and 2 deletions.
  1. +10 −1 README
  2. +1 −1 src/woodworker
View
11 README
@@ -8,7 +8,7 @@ project work on linux
Usage:
======
-woodworker <projectname> [<action>]
+woodworker <projectname> [<action> [<parameters>]]
if <action> is not given woodworker asumes you mean
the action called "index"
@@ -28,3 +28,12 @@ in short the call of "woodworker example test" means that
woodworker looks in your current working dir for the folder
.woodworker and checks in scripts if there is a files called
example and would call the bash method example_test
+
+Start
+=====
+
+To start in the actual directory you just need to type
+woodworker init
+
+This will create the .woodworker directory with the scripts and assets
+subfolder.
View
2 src/woodworker
@@ -72,4 +72,4 @@ then
exit 0
fi
-$FUNC
+$FUNC ${@:3}

0 comments on commit 5e679b6

Please sign in to comment.