Installation is a snap
$ sudo gem install cheat
Now you have access to a wide array of cheat sheets. Cheat sheets are basically like wiki pages that can be accessed from the command line, editable and all. Don't believe me? Give it a try
$ cheat rspec | less
rspec:
INSTALL
=======
INSTALL rspec
=============
$ sudo gem install rspec
OR
$ ./script/plugin install git://github.com/dchelimsky/rspec.git
INSTALL rspec_on_rails plugin
=============================
$ ./script/plugin install git://github.com/dchelimsky/rspec-rails.git
BOOTSTRAP THE APP
=================
$ ./script/generate rspec
create spec
create spec/spec_helper.rb
create spec/spec.opts
create previous_failures.txt
create script/spec_server
create script/spec
....
Cheat is not even rails specific. There are a whole slue of helpful commands that you can refer to as you go about your everyday programming. Just use the cheat sheets command to list them all.
$ cheat sheets
All Cheat Sheets:
acts_as_authenticated
acts_as_state_machine
acts_as_taggable_on
address
administrateme
agile
alias
ambition
ansi
arts
as3_formulas
ascii
assert
assertions
assert_block
....and it keeps going and going
No comments:
Post a Comment