opts.on('-d','--delete',"Remove annotations from all model files"){task=:remove_annotation}
opts.on('-d','--delete',
opts.on('-p','--position [before|after]',['before','after'],"Place the annotations at the top (before) or the bottom (after) of the model file"){|p|ENV['position']=p}
"Remove annotations from all model files")do
opts.on('-r','--routes',"Annotate routes.rb with the output of 'rake routes'"){task=:annotate_routes}
task=:remove_annotation
opts.on('-v','--version',"Show the current version of this gem"){puts"Annotate v#{Annotate::VERSION}";exit}
end
opts.on('-m','--show-migration',"Include the migration version number in the annotation"){ENV['include_version']="yes"}