Class: Larrow::Runner::Cli::Tools

Inherits:
Thor
  • Object
show all
Defined in:
lib/larrow/runner/cli/tools.rb

Instance Method Summary collapse

Instance Method Details

#cleanupObject



33
34
35
# File 'lib/larrow/runner/cli/tools.rb', line 33

def cleanup
  Manager.cleanup
end

#dump(url) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/larrow/runner/cli/tools.rb', line 9

def dump url
  vcs = Vcs.detect url
  configuration = Manifest.configuration(
    vcs,
    ignore_base_scripts: true,
    ignore_larrow: true
  )
  puts configuration.dump
end

#resourceObject



24
25
26
# File 'lib/larrow/runner/cli/tools.rb', line 24

def resource
  Manager.resource
end