You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the configuration file is important to setup correctly, it would be nice to have a CLI to ask the user questions via inquier prompts and that would generate the configuration file for the user in the same directory where the command was run.
Something like:
i18n-validator init
Where would you like to create the configuration file? .
What is the default locale of your app? en
What is the name of the file where your default messages are located? en.json
Which locales are supported by your app? en, fr, de
What is the name of the file where the `fr` messages are found? fr.json
What is the name of the file where the `de` messages are found? de.json
What is the path (relative to where the configuration file) to the directory where you keep your translation files? path/to/dir
Do you want to enable the dryRun setting? no
Do you want to enable the CLI? yes
The text was updated successfully, but these errors were encountered:
Since the configuration file is important to setup correctly, it would be nice to have a CLI to ask the user questions via inquier prompts and that would generate the configuration file for the user in the same directory where the command was run.
Something like:
The text was updated successfully, but these errors were encountered: