Sha256: 09aa0fb18cd25b4fd6d045fc0ae0420e848143f65c199cd314a16f6365a3f0b3

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require 'atcoder_greedy'
require 'atcoder_greedy/command'
require 'atcoder_greedy/lib/contest'

module AtcoderGreedy
  class Command < Thor
    desc 'create [CONTESTNAME]', 'create contest templates for [CONTESTNAME]'

    def create(contest_name)
      Contest.new(contest_name.downcase)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atcoder_greedy-0.3.1 lib/atcoder_greedy/command/create.rb
atcoder_greedy-0.3.0 lib/atcoder_greedy/command/create.rb