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

Support "quiet" or "simple" mode #19

Closed
dambrisco opened this issue Oct 30, 2015 · 2 comments
Closed

Support "quiet" or "simple" mode #19

dambrisco opened this issue Oct 30, 2015 · 2 comments

Comments

@dambrisco
Copy link

Would be great to have a switch that enables a mode which prints only the total method count. I've added this functionality in my fork but it constitutes some rather reaching changes to the code base that I'm not sure fit the pattern you're currently using.

@callmepeanut
Copy link

I solve this by using a shell script:

echo "Debug: "
./dex-method-counts path/to/debug/apk | tail -1

echo "Release: "
./dex-method-counts path/to/release/apk | tail -1

@mihaip
Copy link
Owner

mihaip commented Dec 1, 2015

Using the --max-depth=0 flag trims down the output to just the root. For incorporating the output into other scripts, I think an approach like #18 where it can be more easily machine-parsed is more appropriate.

@mihaip mihaip closed this as completed Dec 1, 2015
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