Skip to content

Commit

Permalink
Fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Aug 23, 2015
1 parent 57abae0 commit d8d4706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $ awspec generate ec2 vpc-ab123cde >> spec/ec2_spec.rb
1. Create your feature branch (`git checkout -b add-type-redshift`)
2. Generate template files (`bundle exec awspec/bin/toolbox template redshift`)
3. Fill files with code.
4. Generate [doc/resource_types.md](doc/resource_types.md) (`bundle exec awspec/bin/toolbox docgen`)
4. Generate [doc/resource_types.md](doc/resource_types.md) (`bundle exec awspec/bin/toolbox docgen > doc/resource_type.md`)
5. Run test (`bundle exec rake spec`)
6. Push to the branch (`git push origin add-type-redshift`)
7. Create a new Pull Request
Expand Down
4 changes: 2 additions & 2 deletions lib/awspec/toolbox.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module Awspec
class Toolbox < Thor
desc 'docgen', 'Generate type template files'
desc 'docgen > doc/resource_type.md', 'Generate doc/resource_type.md document'
def docgen
puts Awspec::Generator::Doc::Type.generate_doc
end

desc 'template [resource_type_name]', 'Generate resource_type template files'
desc 'template [resource_type_name]', 'Generate template files'
def template(type)
puts Awspec::Generator::Template.generate(type)
end
Expand Down

0 comments on commit d8d4706

Please sign in to comment.