Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.19 KB

hello-world

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.

helloWorld 1 0

Usage

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).

Command Line Arguments

  • -l, --lang, --language, /lang: Choose a language (required).
  • -h, --help, /?: Display the help message.

Supported Languages

The application supports the following languages:

  • English (en)
  • German (de)
  • Spanish (es)
  • French (fr)
  • Italian (it)
  • Russian (ru)
  • Turkish (tr)

Maven Dependencies

License

This project is licensed under the MIT License - see the LICENSE file for details.