class BambooRat::CLI
Public Instance Methods
diff(path = './')
click to toggle source
# File lib/bamboo_rat/cli.rb, line 13 def diff(path = './') @tree = ComponentTree.new(path) puts Diff.new(@tree, path, options.branch, options.format).formatted_data end
ls(path = './')
click to toggle source
# File lib/bamboo_rat/cli.rb, line 19 def ls(path = './') @tree = ComponentTree.new(path) puts @tree.components.map(&:path).join("\n") end