majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.33k stars 465 forks source link

Expose cobra command functions #253

Open pl4nty opened 6 months ago

pl4nty commented 6 months ago

Description

Thanks for the great tool! I'm using it as a library to expose Info.plist data at https://ios-app-data.tplant.com.au, but had to reimplement a fair bit of cmd because the cobra.Command functions are inline. Could these be decoupled so I could call them from a non-cobra environment?

majd commented 5 months ago

Can you elaborate on what part of the cmd package are you interested in exposing?

pl4nty commented 5 months ago

Login, search, and download, particularly download since that has the most logic