Skip to content

Sergey-Rozhkov/caesar-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar cipher CLI tool

CLI tool for node.js that will encode and decode a text by Caesar cipher. RS School task.

For start

Clone or download this repository for use CLI tool on your computer.

For installation modules:

npm i

For start use:

$ node index.js --shift <number> --action <encode || decode> [--input <path to input file>] [--output <path to output file>]

Options:

  • -s, --shift: a shift (requered option)
  • -a, --action: an action encode/decode (default decode)
  • -i, --input: an input file
  • -o, --output: an output file

Demo

Use:

node index.js -s 7 -a encode

node index.js -s 8 -a encode -i path-to-file.txt

node index.js -s 8 -a encode -i path-to-file.txt -o path-to-result.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors