This is a simple Java console application that allows users to choose a language and receive a greeting message in that language. The project uses the JCommander library for parsing command line arguments and is built with Maven.
To run the application, follow these steps:
git clone https://github.com/enharukalo/hello-world.git
cd hello-world
mvn clean package
cd target
java -jar "hello-world-1.0.jar" -l <language-code>
Replace <language-code>
with the desired language code (e.g., "en" for English, "de" for German).
-l
,--lang
,--language
,/lang
: Choose a language (required).-h
,--help
,/?
: Display the help message.
The application supports the following languages:
- English (
en
) - German (
de
) - Spanish (
es
) - French (
fr
) - Italian (
it
) - Russian (
ru
) - Turkish (
tr
)
- JCommander: Command line parsing library.
This project is licensed under the MIT License - see the LICENSE file for details.