Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added usage and banners to webiva generators.
- Loading branch information
Doug Youch
committed
Jun 24, 2010
1 parent
703ec73
commit c37f030
Showing
5 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,8 @@ def manifest | |
end | ||
|
||
end | ||
|
||
def banner | ||
"Usage: #{$0} #{spec.name} <module name>" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Webiva Module Migration Options: | ||
<module name> Modules name, example: UserProfile or user_profile | ||
<migration file name> Migration file name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Webiva Renderer Options: | ||
<module path>/<render path> Required, directory name of the module in vendor/modules/... and the name of the renderer. | ||
[<paragraphs>] Optional, names of the paragraphs to create. | ||
|
||
Example: | ||
./script/generate webiva_renderer blog/page recent_posts post | ||
|
||
This will create a Blog::PageRenderer with 2 paragraphs, recent_posts and post. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters