Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose cobra command functions #253

Open
pl4nty opened this issue Dec 25, 2023 · 2 comments
Open

Expose cobra command functions #253

pl4nty opened this issue Dec 25, 2023 · 2 comments
Labels
feature request New feature request

Comments

@pl4nty
Copy link

pl4nty commented Dec 25, 2023

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?

@pl4nty pl4nty added the feature request New feature request label Dec 25, 2023
@majd
Copy link
Owner

majd commented Jan 19, 2024

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

@pl4nty
Copy link
Author

pl4nty commented Jan 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants