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

Options to filter output #17

Open
Baerbeisser opened this issue Jun 3, 2024 · 0 comments
Open

Options to filter output #17

Baerbeisser opened this issue Jun 3, 2024 · 0 comments

Comments

@Baerbeisser
Copy link

Baerbeisser commented Jun 3, 2024

Using enry todo.md outputs

todo.md: 51 lines (38 sloc)
  type:      Text
  mime_type: text/x-gfm
  language:  Markdown
  vendored:  false

Are there options to filter things, output without the identifier, for usage in scripts? If not, could you add them?
And maybe converting to lowercase then? Because tools like highlight/pandoc use lowercase as input.

something like

$ enry --language todo.md
markdown
$enry --mimetype todo.md
text/x-gfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant