Add `pod init` for initializing an empty Podfile #1045

Closed
subdigital opened this Issue May 15, 2013 · 3 comments

Projects

None yet

4 participants

@subdigital
Contributor

Similar to bundle init, pod init would create a new Podfile in the current directory.

Sample Podfile template:

platform :ios, "6.0"

# Add your pods here
# pod "Reachability"

# Configure additional targets
# target :MyTestTarget, :exclusive => true do
#
# end

This might serve as a good way of influencing the best way of structuring a Podfile, especially if it changes between versions.

@alloy
Member
alloy commented May 15, 2013

This might serve as a good way of influencing the best way of structuring a Podfile, especially if it changes between versions.

👍

@pxr
pxr commented May 15, 2013

I often create new Projects with the same set of Pods (my standard Pods). It would be great if pod init could either create the default template as above or create my personal default Podfile which it would get from my .cocoapods config.

@Whirlwind

👍

@fabiopelosin fabiopelosin added a commit that closed this issue Aug 5, 2013
@fabiopelosin fabiopelosin [Changelog] Pod init
Closes #1045
3769dcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment