README in railroad-0.4.1 vs README in railroad-0.5.0
- old
+ new
@@ -16,26 +16,26 @@
== Options
Common options:
-b, --brief Generate compact diagram
(no attributes nor methods)
- -e, --exclude file1[,fileN] Exclude files
- (relative path to 'app/models/' or
- 'app/controllers/')
+ -e, --exclude file1[,fileN] Exclude given files
-i, --inheritance Include inheritance relations
-l, --label Add a label with diagram information
(type, date, migration, version)
-o, --output FILE Write diagram to file FILE
-v, --verbose Enable verbose output
(produce messages to STDOUT)
Models diagram options:
-a, --all Include all models
(not only ActiveRecord::Base derived)
+ --hide-magic Hide magic field names
--hide-types Hide attributes type
-j, --join Concentrate edges
-m, --modules Include modules
+ -p, --plugins-models Include plugins models
-t, --transitive Include transitive associations
(through inheritance)
Controllers diagram options:
--hide-public Hide public methods
@@ -48,9 +48,10 @@
== Commands
-M, --models Generate models diagram
-C, --controllers Generate controllers diagram
+ -A, --aasm Generate "acts as state machine" diagram
== Examples
railroad -o models.dot -M