Skip to content

vladdelusive/caesar-cipher-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

caesar-cipher-cli

Task 1. Caesar cipher CLI tool (Rsschool)

Implemented CLI tool that encode and decode a text by Caesar cipher.

CLI tool accept 4 options (short alias and full name):

  1. -s, --shift: a shift
  2. -i, --input: an input file
  3. -o, --output: an output file
  4. -a, --action: an action encode/decode

Usage example:

$ node src/root -a encode -s 7 -i "./input.txt" -o "./output.txt"
$ node src/root --action encode --shift 7 --input plain.txt --output encoded.txt
$ node src/root --action decode --shift 7 --input decoded.txt --output plain.txt

input.txt This is secret. Message about "_" symbol!

output.txt Aopz pz zljyla. Tlzzhnl hivba "_" zftivs!

About

Task 1. Caesar cipher CLI tool (Rsschool)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published