Konstytucja

Command line parameters:
-a : Prints articles. Followed by single numbers or ranges in single arguments separated with a bar. Example "-a 2 33 4-5"
-c : Prints chapters. Followed by single numbers. Example "-c 2 3"
-p : Path to file with constitution. It should be absolute. Example "-p C://Documents/Moje/Java/Konstytucja/src/agh/cs/konstytucja/konstytucja.txt"

Notes:

  • path is initially set for the computer of the creator, so it must be changed with the path in command line, otherwise it won't work.
  • without any parameters, the numbers set in command line will be printing articles in the way it's said above.