Usage: java -jar sigaba.jar [-e|-d] -k [Key] -i [Input]
 -e for encryption (default), -d for decryption
 Key (for -k): [Cipher rotors][Control rotors][Index wheel][Cipher rotor positions][Control rotor positions][Index rotor positions]
   Cipher/Control rotor format: [rotor number from 0 to 9][orientation N (normal) or R (reverse)], e.g., 0R1N2N3N4R
   Cipher/Control rotor positions: from A to Z, e.g., ABCDE
   Index rotors format: from 0 to 4, e.g., 01234
   Cipher/Control rotor positions: from 0 to 9, e.g., 13579
 Input (for -i): Either the plaintext (for -e, in which case spaces must be replaced by Z), or ciphertext (for -d)

Examples: 

Encryption:
java -jar sigaba.jar -k 0R1N2N3N4R5N6N7R8N9N01234ABCDEFGHIJ01234 -e -i AAAAAAAAAAAAAAAAAAAA

Decryption:
java -jar sigaba.jar -k 0R1N2N3N4R5N6N7R8N9N01234ABCDEFGHIJ01234 -d -i JTSCALXDRWOQKRXHKMVD

Remark: The simulator prints the plaintext twice when decrypting. The second time, all Z are replaced with spaces for readability.