Sha256: 467b107d4efe4c971c3ec950f6e014673d4463e821f94372bd6140b68f8727a3

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

module Roro
  class CLI < Thor

    desc 'generate:mise MISE', 'Generate mise en place.'
    map 'generate:mise'  => 'generate_mise'

    def generate_mise(mise_name = 'mise')
      create_file "#{mise_name}/#{mise_name}.roro"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/cli/generate/generate_mise.rb
roro-0.3.30 lib/roro/cli/generate/generate_mise.rb
roro-0.3.28 lib/roro/cli/generate/generate_mise.rb
roro-0.3.27 lib/roro/cli/generate/generate_mise.rb
roro-0.3.25 lib/roro/cli/generate/generate_mise.rb
roro-0.3.24 lib/roro/cli/generate/generate_mise.rb
roro-0.3.23 lib/roro/cli/generate/generate_mise.rb