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

Generate machine-parseable output #25

Open
cjyar opened this issue Dec 10, 2019 · 0 comments
Open

Generate machine-parseable output #25

cjyar opened this issue Dec 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@cjyar
Copy link
Contributor

cjyar commented Dec 10, 2019

When I run ironhide file:info {some_file}, I get output like this:

┌──────────────────────────┬───────────────────────────┬───────────────────────────────────────────┬───────────┬───────────┐
│ File                     │ Users with access         │ Groups with access                        │ Created   │ Updated   │
├──────────────────────────┼───────────────────────────┼───────────────────────────────────────────┼───────────┼───────────┤
│ {some_file} │ [email protected] │ ICL-IT (48dc3c20d11bfd9f408c204e24a248f9) │ 12/6/2018 │ 12/6/2018 │
└──────────────────────────┴───────────────────────────┴───────────────────────────────────────────┴───────────┴───────────┘

It's not easy for a script to parse output like this. It would be nice to have an option to produce machine readable output, possibly:

  • plain text, with one field per line
  • JSON
@skeet70 skeet70 added enhancement New feature or request and removed tech debt labels Dec 1, 2022
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

3 participants