Sha256: df08ed8daba9ccfbac570c4ef20a3e5719de0692bbd353d41368a3901d6e3dfd

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

require "json"
require "net/http"
require "thor"

module Codelation
  class Cli < Thor
  private

    def print_heading(heading)
      puts "-----> #{heading}"
    end

    def print_command(command)
      puts "       #{command}"
    end

    def run_command(command)
      print_command(command)
      `#{command}`
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codelation-cli-0.0.1 lib/codelation/base.rb