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

Improve --help output to provide better messsages and usage of the library #6

Open
jorgecoca opened this issue Sep 23, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@jorgecoca
Copy link
Contributor

As stated in #5 , users might have trouble realizing what arguments they need to provide in order to use arb-converter.

@jorgecoca jorgecoca added the enhancement New feature or request label Sep 23, 2019
@afpatmin
Copy link

In the meanwhile what is the proper command to convert json -> arb?

I've tried arb-converter to-arb --from-hierarchical-json .\en_GB\translations.json .\output.arb but no file is added (console output is empty)

@jorgecoca
Copy link
Contributor Author

jorgecoca commented Oct 29, 2019

It'd be like this:

arb-converter to-arb ~/Downloads/ --from-hierarchical-json ~/Downloads/

This will get all the *.json files in Downloads, and convert them to arb inside Downloads

@felangel
Copy link

@jorgecoca I also made the same mistake as @afpatmin the first time I used the tool. I think it might be better to adjust the cli to align with expectations. Thoughts?

arb-converter to-arb --from-hierarchical-json ./path/to/input ./path/to/output

@jorgecoca
Copy link
Contributor Author

Yep, I have nothing against that, especially if it is a pain point for many devs. Will try to work on this soon ;)

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

No branches or pull requests

3 participants