Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed Aug 21, 2022
1 parent 4f9b4b5 commit d320470
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions lib/terraspace_bundler/cli/help.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
module TerraspaceBundler::CLI::Help
class << self
def text(namespaced_command)
path = namespaced_command.to_s.gsub(':','/')
path = File.expand_path("../help/#{path}.md", __FILE__)
IO.read(path) if File.exist?(path)
class TerraspaceBundler::CLI
module Help
class << self
def text(namespaced_command)
path = namespaced_command.to_s.gsub(':','/')
path = File.expand_path("../help/#{path}.md", __FILE__)
IO.read(path) if File.exist?(path)
end
end
end
end

0 comments on commit d320470

Please sign in to comment.