This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
cli-encrypt with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Simple CLI for encrypting files using node.js Crypto library.
Primary Use Case: Quickly and easily encrypting and decrypting text files.
Decrypt a file
USAGE $ cli-encrypt decrypt OPTIONS -n, --name=name name of file -p, --pass=pass encryption password DESCRIPTION ... example: cli-encrypt decrypt -n <filename> -p <password>
See code: src/commands/decrypt.js
Encrypt a file
USAGE $ cli-encrypt encrypt OPTIONS -n, --name=name name of file -p, --pass=pass encryption password DESCRIPTION ... example: cli-encrypt encrypt -n <filename> -p <password>
See code: src/commands/encrypt.js
cli-encrypt help [COMMAND]
display help for cli-encrypt
USAGE $ cli-encrypt help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI
See code: @oclif/plugin-help