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

bowtie filter-dialects should have options to print out other dialect properties instead of just the URIs #1332

Open
adwait-godbole opened this issue Jun 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@adwait-godbole
Copy link
Contributor

adwait-godbole commented Jun 25, 2024

For e.g. instead of needing to do jq -r '.[].shortName' data/dialects.json, it would've been better if bowtie filter-dialects itself had maybe a --show shortNames option? Not sure how to design these options appropriately since there could be --show prettyName / --show firstPublicationDate/ .... as well.

@Julian Julian added the enhancement New feature or request label Jul 10, 2024
@Julian
Copy link
Member

Julian commented Jul 10, 2024

This seems reasonable though a better design is probably to allow for format strings, e.g. filter-dialects --format {.short_name}: {.pretty_name} rather than as you say needing to add lots of different options.

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

No branches or pull requests

2 participants