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

optional template arg for --print #2

Open
madsboddum opened this issue Jul 12, 2020 · 0 comments
Open

optional template arg for --print #2

madsboddum opened this issue Jul 12, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@madsboddum
Copy link
Owner

Right now the output of --print is always formatted the same way: interrchange.iff@treefile.tre

It'd be cool if there was a way to specify a pattern instead, so it's customizable. That way the user can:

  • Decide which information they want to see
  • Decide where they want to see the information

So I might for instance be able to run the following:

$ toc -i sku0_client.toc --print

... and receive the normal output, but I could also run this:

$ toc -i sku0_client.toc --print "%file located in %tre"

... and thus format the output in a different way.

@madsboddum madsboddum added the enhancement New feature or request label Jul 12, 2020
@madsboddum madsboddum changed the title template arg for --print optional template arg for --print Jul 12, 2020
@madsboddum madsboddum modified the milestones: v0.0.1, v0.1.0 Jul 12, 2020
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

1 participant