Permalink
Browse files

docs

  • Loading branch information...
1 parent c46a6d7 commit 7c0b0a292696d18b621085172c051f8992fbf578 @tj tj committed Aug 3, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 Readme.md
View
@@ -59,6 +59,7 @@ Commands:
- extensible sub-commands via `component-YOURCOMMAND` git-style
- hackable internals (no monolithic lib here)
- resolves dependencies
+ - component skeleton command
## Dependencies
@@ -72,6 +73,29 @@ Commands:
build in to the package name, for example ["visionmedia/page.js"](https://github.com/visionmedia/page.js) rather
than the ambiguous "page".
+## Creating a component
+
+ The `component-create(1)` command can create a component
+ project skeleton for you by filling out the prompts. Once
+ this repo is published to Github, you're all done!
+
+```
+$ component create popover
+repo (username/project): visionmedia/popover
+description: Popover UI component
+does this component have js? yes
+does this component have css? yes
+does this component have html? yes
+
+ create : popover
+ create : popover/index.js
+ create : popover/popover.html
+ create : popover/popover.css
+ create : popover/Readme.md
+ create : popover/component.json
+
+```
+
## Developing component(1)
`component(1)` and sub-commands are structured much like `git(1)`,

0 comments on commit 7c0b0a2

Please sign in to comment.