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 CLI #32

Open
alexarchambault opened this issue Apr 15, 2020 · 3 comments · May be fixed by #39
Open

Add CLI #32

alexarchambault opened this issue Apr 15, 2020 · 3 comments · May be fixed by #39

Comments

@alexarchambault
Copy link
Contributor

I think it'd be nice / convenient if directories-jvm had a CLI, to print the directories of an app, from its name, on the current OS. It could be used like

$ directories coursier --cache-dir
/Users/alex/Library/Caches/Coursier
@alexarchambault
Copy link
Contributor Author

@soc If you're ok with the idea, I can give it a try if you'd like.

@soc
Copy link
Collaborator

soc commented Apr 15, 2020

@alexarchambault Could we do this as a separate module?

Such that people who only need the library can use it without dragging in CLI/parsing code?
(Maybe named directories-jvm-cli or something?)

@alexarchambault
Copy link
Contributor Author

Could we do this as a separate module?

Yes, that's what I was thinking about.

I'm thinking about maybe using picocli to parse arguments, or parsing them manually if picocli ends up not doing the job.

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

Successfully merging a pull request may close this issue.

2 participants