Class: Dependency::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/dependencyswapper/cli.rb

Instance Method Summary collapse

Instance Method Details

#dev(name) ⇒ Object



15
16
17
18
19
# File 'lib/dependencyswapper/cli.rb', line 15

def dev(name)
 	Dependency::DependencySwapper.new({
:dependency_name => name
		}).dev
end

#test(name) ⇒ Object



7
8
9
10
11
# File 'lib/dependencyswapper/cli.rb', line 7

def test(name)
 	Dependency::DependencySwapper.new({
:dependency_name => name
		}).run
end