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

Metadata in CLI? #18

Open
hako opened this issue Aug 7, 2015 · 6 comments
Open

Metadata in CLI? #18

hako opened this issue Aug 7, 2015 · 6 comments

Comments

@hako
Copy link

hako commented Aug 7, 2015

I love using Raccoon, but it would be great if it can output metadata (based on the 'Details' section) somehow in the CLI for developers to work with.

@onyxbits
Copy link
Owner

onyxbits commented Aug 9, 2015

Please give some more detail (what is needed, in what format?), but
don't provide patches. There won't be any more v3.x releases.

Am Freitag, den 07.08.2015, 13:55 -0700 schrieb Wesley Hill:

I love using Raccon, but It would be great if it can output metadata
(based on the 'Details' section) somehow in the CLI for developers to
work with.


Reply to this email directly or view it on GitHub.

@hako
Copy link
Author

hako commented Aug 11, 2015

Say for instance, If I would like to get the details of the Android app in the CLI. I could do this:

java -jar raccoon.jar -m com.facebook.katana
-m could mean metadata.

The output of that command is a JSON or XML representation of the details page in the Raccon GUI.

facebook

Example JSON output:

details.json

{
 "name":"Facebook", 
 "package":"com.facebook.katana", 
 "size":"43.5MB", 
 "published":"August 10, 2015", 
 "price":"Free",
 "version":"40.0.0.24.199",
 "raw_version":13607412,
 "installations":"100,000,000+", 
 "rating":4.00
}

@onyxbits
Copy link
Owner

That would be relatively easy to do. The problem just is the output
format. You want JSON, someone else might want XML, yet another one
wants SQL. I'm afraid this will go down a road where we get a huge
amount of (slightly) different output formats and a splitting headache
trying to maintain them all.

Am Dienstag, den 11.08.2015, 04:11 -0700 schrieb Wesley Hill:

Say for instance, If I would like to get the details of the Android
app in the CLI. I could do this:

java -jar raccoon.jar -m com.facebook.katana
-m could mean metadata.

The output of that command is a JSON or XML representation of the
details page in the Raccon GUI.

facebook

Example JSON output:

details.json

{
"name":"Facebook",
"package":"com.facebook.katana",
"size":"43.5MB",
"published":"August 10, 2015",
"price":"Free",
"version":"40.0.0.24.199",
"raw_version":13607412,
"installations":"100,000,000+",
"rating":4.00
}

Reply to this email directly or view it on GitHub.

@IzzySoft
Copy link

Using templates with place-holders might be an option here – so the user is completely free to define even his/her own format.

@onyxbits
Copy link
Owner

I would need to see a complete proposal there. I'm not going to guess
what might be needed and then implement something nobody ever uses.

Am Donnerstag, den 19.11.2015, 15:37 -0800 schrieb Izzy:

Using templates with place-holders might be an option here – so the
user is completely free to define even his/her own format.


Reply to this email directly or view it on GitHub.

@IzzySoft
Copy link

Agreed. I was just throwing in an idea – maybe @hako can build upon that. I'm afraid the needs will differ pretty much: while one only needs "core data", another might want a "full dump" (if I wanted to use that, I'd need the full package data including permissions).

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

No branches or pull requests

3 participants