Sha256: 8fdc0adb7b23160ba0102a12af32e8b0629b50706ba14bf38e70692fb69a9895
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true require_relative '../../command' module Sumcli module Commands class Add class Migration < Sumcli::Command def initialize(name, options) @name = name @options = options end def execute(input: $stdin, output: $stdout) command.run("rake db:create_migration[#{@name}]") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sumcli-0.6.0 | lib/sumcli/commands/add/migration.rb |