Sha256: 6e8dab1f627ec1f747c1ad5f3df30a2b1592f3152190d822d5919b74d65ed2d3
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true # CLI#play class CLI < Thor map ['p', '-p', 'play', '--play', '--run', 'run'] => 'play' option :export, type: :string option :cname, type: :string option :cpath, type: :string option :case, type: :string option :color, type: :boolean option :quiet, type: :boolean desc '[run] [OPTIONS] DIRECTORY', 'Run challenge from directory' long_desc <<-LONGDESC This function execute challenge from specified directory. By default, show progress on the screen. Let's see others options: (1) teuton foo, run challenge from foo/start.rb with foo/config.yaml config file. (2) teuton play foo, same as (1). (3) teuton play --export=json foo, run challenge and export using json format. Others output formats availables are: txt, colored_text, json, yaml. (4) teuton play --cname=demo foo, run challenge from foo/start.rb with foo/demo.yaml config file. (5) teuton foo/demo.rb, Run challenge from foo/demo.rb with foo/demo.yaml config file. LONGDESC ## # Execute Teuton test unit # @param filepath [String] Route to main: rb file or folder def play(filepath) Project.play(filepath, options) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
teuton-2.1.11 | lib/teuton/cli/play.rb |
teuton-2.1.10 | lib/teuton/cli/play.rb |
teuton-2.1.9 | lib/teuton/cli/play.rb |