class CLI
Command Line User
Interface
CLI#test
Class method Teuton#version
Public Instance Methods
check(path_to_rb_file)
click to toggle source
method_missing(method, *_args, &_block)
click to toggle source
These inputs are equivalents:
-
teuton dir/foo
-
teuton run dir/foo
-
teuton play dir/foo
# File lib/teuton/cli.rb, line 32 def method_missing(method, *_args, &_block) play(method.to_s) end
new(path_to_new_dir)
click to toggle source
Command: create new Teuton
project
# File lib/teuton/cli.rb, line 23 def new(path_to_new_dir) Skeleton.create(path_to_new_dir) end
play(filepath)
click to toggle source
Execute Teuton
test unit @param filepath [String] Route to main: rb file or folder
# File lib/teuton/cli/play.rb, line 35 def play(filepath) Project.play(filepath, options) end
readme(path_to_rb_file)
click to toggle source
respond_to_missing?(method_name, include_private = false)
click to toggle source
Calls superclass method
# File lib/teuton/cli.rb, line 36 def respond_to_missing?(method_name, include_private = false) super end
version()
click to toggle source
Display version
# File lib/teuton/cli/version.rb, line 9 def version puts "#{Application::NAME} (version #{Application::VERSION})" end