Subito-it / PodBuilder

A tool to precompile CocoaPods pods
Other
284 stars 28 forks source link

Added new install_sources command option #59

Closed ryo-otake-sonix closed 2 years ago

ryo-otake-sonix commented 2 years ago

Overview

We can download the sources of all pre-built pod libraries by running the install_sources command. However, there is no need to download all the sources if you only want the sources of a specific pod library. Therefore, I made it possible to download only the pod libraries that we need by designating the pod libraries with options.

What we have done

tcamin commented 2 years ago

Hi! Thanks for the pull request. Instead of having the --designate-pods what about making that the default and add a --all to install all sources?

So that the commands becomes more similar to the build one.

Usage:

    $ pod_builder install_sources  [OPTIONS] <PODNAME...>

      Install source of prebuilt pods to be able to step into and debug prebuilt's code.

Options:
    -a, --all                             Install all available sources
    -s, --no-stdin                   Never request interaction with sdtin (e.g. in CI environment)
ryo-otake-sonix commented 2 years ago

@tcamin Thanks for the review! I've fixed it, could you please re-review!

ryo-otake-sonix commented 2 years ago

@tcamin Thanks for the review! I've fixed it, could you please re-review!