Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
d1adc373
Commit
d1adc373
authored
Jan 17, 2010
by
Masatoshi Iwasaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.rdoc
parent
27a0fe96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.rdoc
README.rdoc
+5
-5
No files found.
README.rdoc
View file @
d1adc373
...
@@ -54,19 +54,19 @@ From github:
...
@@ -54,19 +54,19 @@ From github:
To annotate all your models, tests, fixtures, etc.:
To annotate all your models, tests, fixtures, etc.:
cd /path/to/app
cd /path/to/app
annotate
annotate
-rails
To annotate your models and tests:
To annotate your models and tests:
annotate --exclude fixtures
annotate
-rails
--exclude fixtures
To annotate just your models:
To annotate just your models:
annotate --exclude tests,fixtures
annotate
-rails
--exclude tests,fixtures
To annotate routes.rb:
To annotate routes.rb:
annotate -r
annotate
-rails
-r
To automatically annotate after running 'rake db:migrate':
To automatically annotate after running 'rake db:migrate':
...
@@ -79,7 +79,7 @@ completed.
...
@@ -79,7 +79,7 @@ completed.
== OPTIONS
== OPTIONS
Usage: annotate [options] [model_file]*
Usage: annotate
-rails
[options] [model_file]*
-d, --delete Remove annotations from all model files
-d, --delete Remove annotations from all model files
-p, --position [before|after] Place the annotations at the top (before) or the bottom (after) of the model file
-p, --position [before|after] Place the annotations at the top (before) or the bottom (after) of the model file
-r, --routes Annotate routes.rb with the output of 'rake routes'
-r, --routes Annotate routes.rb with the output of 'rake routes'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment