Sha256: cf12f574a74694dfb6c0d21370afcf9364a48072c39fda6d6f16bf78c110ad54
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'annotate_models/tasks' task = "annotate_models" OptionParser.new do |opts| opts.banner = "Usage: annotate [options]" opts.on('-d', '--delete') { task = "remove_annotation" } opts.on('-p', '--position [before|after]', ['before', 'after']) { |p| ENV['position'] = p } end.parse! Rake::Task[task].invoke
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tomkersten-annotate-models-1.0.4 | bin/annotate |