Class: Contextizer::CLI
- Inherits:
-
Thor
- Object
- Thor
- Contextizer::CLI
- Defined in:
- lib/contextizer/cli.rb
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#extract(target_path = ".") ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/contextizer/cli.rb', line 25 def extract(target_path = ".") if [:git_url] RemoteRepoHandler.handle([:git_url]) do |remote_path| run_extraction(remote_path) end else run_extraction(target_path) end end |