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

Add plain output option #35

Closed
sharkdp opened this issue Sep 15, 2019 · 2 comments
Closed

Add plain output option #35

sharkdp opened this issue Sep 15, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sharkdp
Copy link
Owner

sharkdp commented Sep 15, 2019

It might make sense to add something like a --plain option (other name suggestions?) which would provide an easily parseable output (probably just the number of bytes) for other programs that want to run diskus.

@sharkdp sharkdp added enhancement New feature or request good first issue Good for newcomers labels Sep 15, 2019
@sharkdp
Copy link
Owner Author

sharkdp commented Sep 21, 2019

Maybe even better: automatically switch to plain format when the output is being piped by using atty.

@sharkdp sharkdp changed the title Add --plain option Add plain output option Sep 21, 2019
@sharkdp
Copy link
Owner Author

sharkdp commented Sep 21, 2019

Released in v0.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant