Method: Seiton::CLI#rds_snapshot
- Defined in:
- lib/seiton/cli.rb
#rds_snapshot ⇒ Object
67 68 69 70 71 72 73 74 75 76 |
# File 'lib/seiton/cli.rb', line 67 def rds_snapshot unless [:before_datetime] then puts '--before-datetime must be specified. (--before-datetime=YYYY/MM/DD)' exit 1 end ignores = Seiton::Ignores.new([:ignores_file], [:ignores]).generate seiton = Seiton::Rds.new seiton.rds_snapshot([:check], [:before_datetime], ignores) end |