Commit 88af9c25 authored by Ian Ynda-Hummel's avatar Ian Ynda-Hummel

Add basic init subcommand that just generates an empty Podfile

parent 61f54169
module Pod
class Command
class Init < Command
self.summary = 'Create a Podfile'
self.description = <<-DESC
Creates a Podfile for the current directory if none currently exists.
DESC
def run
(Pathname.pwd + "Podfile").open('w') { |f| f << '' }
end
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment